- whoami : It gives the name of the current user.
- touch : command that is used to make a file.
- pwd : to check current working directory.
- mkdiir foldername : to create a directory (folder).
- ls : to list contents in a current directory.
- cd dirname : to change directory.
- cd .. : to move directory back.
- cat filename : to view contents of file.
- clear : to clear terminal.
- echo "your text" : to print something.
- ls -la : list contents of directory.
- nano file_name : to write something to file.
- exit nano : ctrl + x > press y if want to save or press n for no > press enter.
- history : to all your previously executed commands.
- rm filename - to delete the file. ( be careful before deleting).
- vim command - to make file and put something at a time.
- apt-get update && apt-get upgrade : if you want to update your system as well upgrade(all the packages like ruby, python will get upgraded)
- mkdir file : to create a new directory.
- rmdir file : to remove directory.
- man ls : open the manual of ls.
- cp test.txt /home/ : copy the file to the directory home.
- chmod : to change the permission of a file.