Operations
Key Combination | Result |
Command-U | Remove(crop) from cursor to start |
Command-K | Remove(crop) from cursor to end |
Command-Y | Paste cropped text |
Command-Shift-C | Copy to clipboard |
Command-Shift-Y | Paste from clipboard |
Up arrow | Recall previous commands |
Down arrow | Scroll previous commands |
Ctrl-R | Search command history |
Ctrl-C | Cancel command |
- man: open manual pages (Ex: $ man ls)
- file: determines file type (Ex: $ file myfile.txt)
- stat: Display ownership, modification information, etc. (Ex:$ stat myfile.txt)
- cd .. : to previous folder
- mkdir: make a new folder
- $ mkdir new_folder
- $ mkdir -p filepath/parent_folder/child_folder
- rmdir: remove empty folder
- cp: copy file
- $ cp poems.txt poems2.txt (first is the file, second is the file where you want to copy to)
- mv: move file
- rm: remove file
- find: find file
- chmod: change the permissions on a file by modifying the file mode bits.