Linux Commands for Beginners

Almost 90% of servers are running on Linux. Linux provides the security and smooth run ability for the servers and all the exquisite services are absolutely free. For the beginners, Linux might be a little hard because most of the users are used to Windows which is a relatively easy operating system. But if you know some basic commands, then you can also use them efficiently. Here are some basic Linux commands for beginners:

pwd: All the commands are typed in the terminal and to open the terminal you just need to hold the  Ctrl + Alt + T key and voila terminal is open. Be careful with the Linux commands as all the commands are case sensitive. pwd command is used to check the exact location or folder.

pwd command shows current path

Is: If you want to check the total number of files in a specific directory we use the Is command. Moreover, if you want to access the hidden files, then you can simply type “ls -a” to get the results.

ls command shows all of files in current directory

cd: If you want to jump from one directory to another directory quickly, then you can use the cd command. One thing you must know that the commands are case sensitive and you need to type exactly the same spelling to reach the specific directory. For example “cd Desktop”.

cd command is used to change directory

touch: If you want to create a new file to organize your data then you can use the touch command. The format can be of your choices such as txt, zip, or file without any extension.

touch command helps us make files

mkdir: If you want to create a new folder to organize your file then you can use the mkdir command.

mkdir command is used to make new directory

cp: This command helps you to copy the data over the command line. You need the source and destination to execute the command successfully.

cp command is used to copy files or folder

mv: mv command is used to move the files through the command line. For example, if you want to move the data from the Desktop to Downloads, then you can use the mv command.

mv command is used to copy files or folder

sudo: It is just like an administrator command aka SuperUserDo. So whenever the operation required the high-level authorization or you are not being able to extract the desired result then you can use sudo command.

sudo command gives to root privilege

man: man command is basically a help command that you can use to know the other command’s purpose. For example, if you are confused on how to use the Is command, then you can just type man Is and you can get the information regarding the command.

man command is short of manual

Linux has numerous benefits just because of its open-source platform. These are just the beginners’ commands and you once you dive deep into the Linux world then there are unlimited possibilities.

Leave a Reply

Your email address will not be published. Required fields are marked *