Name
popd
Synopsis
popd [options
]
Remove the current entry from the directory stack or remove the n th entry from the stack. The current entry has number zero 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 Unix in a Nutshell, 4th Edition 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.