pushd: Save and then change the current directory

Save and then change the current directory. With no arguments,
pushd exchanges the top two directories.
SYNTAX
pushd [dir | N | -N] [-n]
KEY
N Brings the Nth directory (counting from the left of the list
printed by dirs, starting with zero) to the top of the list by
rotating the stack.

-N Brings the Nth directory (counting from the right of the list
printed by dirs, starting with zero) to the top of the list by
rotating the stack.

-n Suppresses the normal change of directory when adding directories to the
stack, so that only the stack is manipulated.

dir Makes the current working directory be the top of the stack, and then executes
the equivalent of `cd dir?. cds to dir.
#Ah, push it - push it good
Ah, push it - p-push it real good# - Salt ?N? Pepa
Tags
Comments
Write the first comment
Leave a trace
Name *
Email *
Website
Anti SPAM * Code (8 + 1) =
Leave me a comment *
 
All comments are subject to editorial review
Post being viewed right now
Item date: 17.06.2009
Views: 2060
Item date: 26.09.2009
Views: 491
Item date: 02.01.2009
Views: 1579
Item date: 05.02.2009
Views: 951
Item date: 06.12.2010
Views: 1031
Item date: 20.12.2011
Views: 89
Item date: 03.01.2009
Views: 819
Item date: 13.12.2009
Views: 1339
Item date: 03.01.2009
Views: 1255
Item date: 02.01.2009
Views: 2107