I would like to use the recently accessed directories list for logging purposes.
Is the directory stack as used by
popd stored somewhere, perhaps as a list of folders in a text file? If so, where?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
is the shell builtin you're looking for, see the man page for bash's implementation:
Display the list of currently remembered directories.
dirs [+N | -N] [-clpv]