News, Software

Must Know Basic Linux Commands for First Time Users



The Linux operating systems are really interesting and open source for development. The developers and programmers highly appreciate the Linux Environment due to its ease of use. But, the Linux Distros or the different Builds of Linux have one thing in common, “Shell” or “Terminal”. Most of the Linux Distros still depend on the Terminal commands to execute the important functions.

In this post, I am sharing some of the best Linux commands for Beginners. For this post, I will be using Ubuntu Linux. So, here we go to share some of the best and Basic Linux Commands for Beginners.

Basic Linux Commands for Beginners

The commands can be entered and executed from the Linux Terminal or Shell. Here, in Ubuntu Linux or any other Linux Distro, we can open the Terminal pressing “Ctrl+Alt+T”.  Otherwise, you can click on the “Dash” and then search manually for Terminal or Shell, depending on your Linux Distro.


The “Sudo” is the command for granting or executing any task with Administrative Privilege. Some programs and commands cannot be executed without Administrative Access, so the command “Sudo” is used.

For example, when we have to check for the updates from Linux Repositories, we use the command “Sudo apt-get update.” The SUDO command gives the “apt-get update” command administrative access.

Also, while installing any program using the command line, the Sudo comes to help. While installing every program from Terminal, we have to use the Sudo Command. For example, “Sudo apt-get install<program name>” fetches the program from repositories, downloads it, and installs it on your system.


The “cd” here stands for the Change Directories. With the “cd” command, you can change the current working directory from within the terminal. When you are trying to save anything or want to access the files from Terminal, then Changing Directories with the “cd” command helps.

For example, if you want to change the directory to the “Desktop” from the Home Directory, then you should enter “cd /Desktop” and it will change the directory to “Desktop”.


The “cp” command helps us to Copy the specific file from the terminal or shell. With the cp command, you can copy and rename the Copied file. For example, if you want to copy the file named “Example”, then the command “cp Example” and if you want to rename the copied version and save it, the command “cp Example Done”.  Here, the “Done” is the name of the file you wanted to save.


It’s the Move command, which moves files from one directory to another or renames the file. Using this command is simple and similar to the “cp” command. Here the “mv” command moves files and renames them while copying.

For example, the command “mv  Example ~/Desktop”. This is the same file we copied in the above “cp” command, which will be moved to Desktop after you execute the command.


It is the command for creating a new directory. When you wanted to create a new folder or directory, you can use this command, specify the location and then execute the command.  For example, if you want to create a folder/directory named “Applications”, then you should execute the command “mkdir Applications” will create a new Directory with the name “Applications” in your current working folder.


While the “mkdir” creates a new directory, the “rmdir” deletes the directory. The “rmdir” commands work in two different ways. The first one is “rmdir” which removes the empty directory, and another command is “rm –r”, which removes the entire directory along with its content.


So, these were some of the basic yet important Linux OS commands for beginners. When I started using the Ubuntu Linux for the first time, It was confusing for me to go through the basic commands. But, by spending a little time on these commands, now I am good at using them.

There are many Linux Commands which can be used to execute different tasks. Once you get used to using these basic commands, then you can try finding advanced commands from the Linux Community.

Author Bio: Swaraj Nandedkar is a Blogger for 3 years. He is working as the Content Marketing Manager at . He loves to Play Games and get high on Adrenaline Rush.

More on this topic:

What is Terminal Emulator?

Previous ArticleNext Article