cd means change directory — it moves you to another folder.
cd /home/student/Documents # absolute path: starts from the top "/"
cd Documents # relative path: starts from where you are
cd .. # go up one folder
cd ~ # jump back to your home folder
cd - # go back to the previous folder
| Shortcut | Means |
|---|---|
. | this folder |
.. | the folder above |
~ | your home folder |
Press Tab while typing a folder name and the shell finishes it for you. It saves time and avoids typos.