Command Line (for MacOS) - week 1
- Created by: harveyf2801
- Created on: 22-01-21 14:33
View mindmap
- Command Line
- cd /
- Change directory
- cd ~/
- Takes us to the users home directory
- pwd
- Print working directory
- Shows which folder you are currently working in
- Print working directory
- mkdir ~/
- Untitled
- ls
- List directory contents
- Displays all files in the current directory
- List directory contents
- Shortcuts
- ^ key goes to previous command
- TAB key gives options for auto complete
- rm
- Removes a file
- rm -R
- Removes files and directories recursively
- man
- Shows the manual for a function
- clear
- or ctrl+L
- Clears screen
- or ctrl+L
- history
- or ctrl+C / ctrl+D
- Views the history of commands
- or ctrl+C / ctrl+D
- cp name_of_file.*** name_of_copy.***
- Creates a copy of the file in the current directory
- cd /
Comments
No comments have yet been made