DEV Community

Cover image for 5 Basic Linux Command You Should Know
Gautam kumar Pandey
Gautam kumar Pandey

Posted on

5 Basic Linux Command You Should Know

Hey!! There if you are using Linux operating system these Linux command you should definitely know which will boost your productivity in Linux
soo.. Let's get started

1. cd
-> cd command used to navigate through files and directories. it requires either full path of directory or just name of that, depend on the current working directory you're in.

Image description
2. pwd
-> pwd command used to know in which directory you are currently working.
Image description
Look the above terminal image, from the cd command you go to Desktop directory now you want to know in which directory i'm curently working to show tht just type pwd it show your current directory here is Desktop.
3.mkdir
-> mkdir stands for make directory which used to create a directory in your currently working file.

Image description
in above image here i'm working in working Direcory i want to make a folder name new-folder in working Directory for that type mkdir new-folder and it will create folder of name new-folder.
4. ls
-> ls command used to view the content of a directory. By default it shows the content of current working directory.

Image description
5. touch
-> touch command used to create blank file

Image description

Top comments (0)