1. Where files live
Try firstYou are in /home/sam/photos. Write the command to get to /home/sam/projects in one step.
Check your answer
cd ../projects (or cd /home/sam/projects, or cd ~/projects).
Files live in a tree of folders, and a path names a place in it.
pwd: where am I?ls: what is here? (folders end with /)cd name: go into a folder.cd ..goes up one;cdon its own goes home.
A path starting with / starts at the top and works from anywhere; other paths start from where you are. ~ means your home folder.




