in ,

Basic Linux Commands

Basic Linux commands
Reading time: 2 min

Linux is one of the popular Operating System in this world. Almost all the companies use Linux for their servers because Linux provides better performance than competitive Operating Systems. Linux has one main powerful tool called Terminal which lets the user execute commands. With terminal commands, you can do almost anything. You can also create a matrix like an effect in the terminal. The exact working of the terminal is complex but in simple words, it takes user input from the keyboard and passes it to the OS.


Linux supports a huge range of commands. If you are a Linux beginner than you should know these basic Linux commands:


mkdir allows users to create a new directory/folder.

The syntax of mkdir: mkdir folder_name.


using ls you can view all the files and folder.

ls -l

The ls-l command will show all files and folder with permissions.


The most simple thing we can do in Linux is to move between directories. To move to a directory let’s say Downloads we will use: cd Download

To move out of a directory: cd ..


The touch command is used to create a new file.

Syntax: touch filename.txt

you can create files with different extensions as per your choice.


This will allow you to view contents inside the file.

Syntax: cat filename.txt


Having a manual of everything can be great. Linux provides manual of each command to access them use: man command.


Nano is a text editor of Linux, to use it type: nano

To open a file in nano: nano filename.txt


To remove an empty directory from Linux we use rmdir

But if we have to delete a non-empty directory we will use rmdir -r

All the best people in life seem to like LINUX


Leave a Reply

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



Solved: Linux Showing Free Space as unusable

Union budget 2019,

Union Budget 2019, by Piyush Goyal