Command: cd
Use
cd ~/src
What It Does
cd changes the current working directory of your shell.
Useful Forms
cd
cd ~/src
cd ..
cd -
cdwith no argument returns to your home directory.cd ..moves to the parent directory.cd -returns to the previous directory.
Practice
Run pwd after cd until path changes are automatic in your head.
Watch Out
cd affects the current shell. It does not move files.
Docs Pointers
- Run
help cd. - Read path, directory, and filesystem.

Linux Foundations