Cynosure.X International LLC

Library: GNU bash Command Reference (Darwin 9.0)

popd

popd: popd [+N | -N] [-n]

Removes entries from the directory stack.  With no arguments,
removes the top directory from the stack, and cd's to the new
top directory.

+N	removes the Nth entry counting from the left of the list
shown by `dirs', starting with zero.  For example: `popd +0'
removes the first directory, `popd +1' the second.

-N	removes the Nth entry counting from the right of the list
shown by `dirs', starting with zero.  For example: `popd -0'
removes the last directory, `popd -1' the next to last.

-n	suppress the normal change of directory when removing directories
from the stack, so only the stack is manipulated.

You can see the directory stack with the `dirs' command.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

34 Users Online

Hacking Digital Cameras
Fun for Photographers


Amazon Associate

Copyright © 1996 - 2017. All Rights Reserved.