Here are a few basic Linux commands that all new users should know. Of course most of these commands have options to alter their output.
1) Print Working Directory – This command will display the full path name
2) List – This command will list content in a directory. Additionally, the -l and -a options will show you a log listing. Long listing shows the ownership and permissions of files and sub-directories. the -a option will display all files, including hidden files.
3) Change Directory – This will allow the user to changed directories.
4) Copy – This will allow you to create a copy of the specified file and specify where the newly made copy will be located. Additionally the -r option can be used to move things recursively, or when copying directories.
5) Move – While similar to copy, move will actually move a directory or file that have been specified. Also, this command can change the name of a file that is being moved.
$ mv /filepath/file /newfilepath/newdestation
6) whoami – Who am i – Display the current user you are logged in as
7) mkdir – Make Directory – This will allow you to either make a directory within a specified file path. You can also make a directory when inside the main directory.
8) rm – Remove -This will remove a file and adding the -r option will remove a file recursively.
9) rm -rf – This will recursively remove and directory or folder and all of its content.
$ rm -rf
10) df – This command is going to display how much space is being used on your system. df -h will make it easier to read.