Print directories currently remembered for pushd/popd operations.
Print entryth entry from start of list (list starts at 0).
Print entryth entry from end of list.
Clear the directory stack.
Print the directory stack, one entry per line.
Like -p, but prefix each entry with its position in the stack.