• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

popd

popd

popd Pops the directory stack and changes to the new top directory.
popd [-p] [-l] [-n | -v] [+<n>]
popd

Without arguments, popd pops the directory stack and returns to the new top directory. Elements in the directory stack are numbered from 0 starting at the top.
-p Overrides the pushdsilent shell variable. (The pushdsilent shell variable can be set to prevent popd from printing the final directory stack.)
-l Lists the output in long form.
-v Prints one entry per line, preceded by its stack position.
-n Wraps entries before they reach the edge of the screen.
+<n> Discards the <n>th directory in the stack.
If both -n and -v are specified, -v takes precedence.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint