| Useful UNIX Commands | |
| cd [name of directory] | change directory |
| ls | list the folders and files in the current directory |
| cp [source location] [destination location] | copy file from source to destination |
| mkdir [name of directory] | create a new directory in the current directory |
| rm [name of file] | remove a file |
| rm -r [name of directory] | remove a directory and all of its contents |
| mv [source] [destination] | move a file to a new location |
| Useful Emacs Commands | |
| hold [ctrl], then press "xs" | save the file |
| hold [ctrl], then press "xc" | exit from the file |
| hold [ctrl], then press "k" | deletes a line |
| hold [ctrl], the press "_" | undo |
| hold [ctrl], then press [space] | set the start location for the cut (called the "mark") |
| hold [ctrl], then press "w" | cut from the "mark" to the current cursor position |
| hold [ctrl], then press "y" | paste the previously cut text |