Name
popd
Synopsis
popd
[options]
Remove the current entry from the directory stack, or remove the nth entry from the stack and print the stack that remains. The current entry has number 0 and appears on the left. See also dirs and pushd.
Options
-
+
n
Specify nth entry.
-
-l
Expand ~ notation.
-
-n
Wrap long lines.
-
-p
Override the
pushdsilent
shell variable, which otherwise prevents the printing of the final stack.-
-v
Print precisely one directory per line.
Get Mac OS X in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.