Manage files and folders
- cd - change directory
- ls - list the content of a directory
- pwd - parent working dir
- mkdir - create a new directory
- rm - Remove files and folders
- cp - Copy files and folders
- mv - Move files and folders
- ditto - Move files and folders (advanced)
Acess and permission to files/folders
cd
Syntax: cd <directory>
Usage/Result: Change the working directory to <directory>
Example
| cd / | Change working directory to the root of your Mac's disc |
| cd /Users/Tom | Change working directory to /Users/Tom |
| cd - | Go back to the last folder you looked at |
| cd ~ | Change working directory to the home directory of the current user |