Let us shower some light on few Linux commands:

sudo: Super User DO

This command used as a prefix of some command that only superuser are allowed to run. If you prefix sudo with any command, it will run that command with elevated privileges or in other words allow a user with proper permissions to execute a command as another user, such as the superuser. This is the equivalent of “run as administrator” option in Windows. The option of sudo lets us have multiple administrators.

eg: If we want to change directory to etc. If we do cd/etc/ press enter. In etc you want to create a directory.If you make mkdir directoryname then it show you as denied permission because we need to use sudo to tell Linux as administrator.

If you do sudo mkdir newdirectoryname. It will ask for password.It is the password you set during installation as root password. Type password, It will not display on the enter. you can notice that directory been created.

If you want your terminal with root user to install applications or any functionality you would like to do as a administrator then you can use sudo -s, type password then you can notice that you are in root privilege. This indicates super user.

If you want to learn more about sudo usages please kindly go through the link mentioned below.

nano: Text Editor

It has many features like replace, go to line,show coloum number etc.It is also useful for creating new file.

If you type nano nano.txt ( This is the name given by me for the page)A new page will be opened in the terminal with titled nano.txt

you can perform the task of creating new file and save it.

ctrl o will help us to save the file with in the nano command page

ctril x will help us to be back from nano command page

ctrl k will help us to cut the text

ctrl * for cut

ctrl u for uncut

If you want to learn more about nano usages please kindly go through the link mentioned below.

I request you to learn the commands of file permission, Directory permission and Numerical permission from the tutorials of Programming Knowledge.He explained in a detailed layman way.

File Permission:

Directory Permission:

Numerical Permission:

Thank you



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store