cd

cd - change current working directory.


Change current directory to /usr/bin :

cd /usr/bin

Return to previous directory:

cd -

Go to parent directory:

cd ..

Return two dirs up:

cd ../../

Switch to home directory:

cd
cd ~

Switch to root directory:

cd /

Go to first directory starting with letter 'c':

cd /home/c*

Switch to a directory containing white spaces:

cd my\ dir
cd "my dir"