Basic Commands
1) pwd - it shows present working directory. Directory in linux means a 'folder'
currently we are in /home/ubuntu folder
2) ls - it shows all the available files and folders in the current directory
3)cd - It is used to change the directory . for example if i have to move to a directory called bin then
i ll press cd bin.
4) whoami - it shows the user name of the currently logged in user. for example right now the user
name is ubuntu
5)date - it will show date and time
6)mkdir - it is used to make a folder or directory . For ex - I want to make a folder with name linux-
labs , so I need to run mkdir linux-labs.mkdir means make directory
7) sudo su - tp switch to root user
su - username - to switch to any other user
8) history - to see the history of all the commands that I ran just type history