Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 284 Bytes

directory-stack-builtins-bash-reference-manual.md

File metadata and controls

8 lines (5 loc) · 284 Bytes

Directory Stack Builtins (Bash Reference Manual)

pushd [-n] [+N | -N | dir]

Save the current directory on the top of the directory stack and then cd to dir. With no arguments, pushd exchanges the top two directories and makes the new top the current directory.