`cd` means “change directory.” A directory is a folder; your current directory is the folder the terminal is working in. Type `cd` followed by a folder path to move there. For example, `cd Desktop` moves from your home directory into its Desktop folder. section 1.7.3
A few forms cover common moves:
- `cd ..` moves up one folder, to the parent directory. section 1.7.3
- `cd ~` or `cd` alone returns to your home directory. `cd ~/Documents` goes directly to Documents in that home directory. section 1.7.3
- Put a path containing spaces in quotes, as in `cd "My Folder"`. Type `cd` in lowercase, and match the folder name’s capitalization. section 1.7 section 1.7.3
After moving, run `pwd` to check your location or `ls` to see what is in the folder. If `cd Desktop` reports “no such file or directory,” use `ls` to find the exact folder name. Do not type a path by itself: the shell may try to run it as a command instead of moving there. section 1.7.3
cd .. pwd
Run `cd ..` to move to the parent folder, then `pwd` to confirm where you landed. section 1.7.3
