| mv fromfile tofile | Move or rename a file or directory |
| cp fromfile tofile | Copy a file - like mv but fromfile is unchanged |
| rm filename | Remove (delete) a file. |
| mkdir dirname | Make a directory. |
| rmdir dirname | Remove an empty directory. rm -r removes a directory and everything in it. |
| ls file | Lists a file or directory.
|
| ls -l file | Shows the attributes of the file specified. |
| ls | Lists all the files in the current directory.
|
| ls -l | Shows attributes for all the files in the current directory. |
| cd dirname | Change to directory dirname.
|
| cd | Change to your home directory. |
| pwd | Print the name of your current directory. (Present Working Directory). |
| gunzip file | Uncompress a .gz file. |
| tar xvf filename | extract the components of a tarfile. |