Linux Basic Commands:
1. pwd command
Finds the Path of current working directory
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-330-1024x104.png)
2. cd command
To navigate the files in linux
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-332-1024x102.png)
3. ls command
To view the contents of all directory
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-334-1024x173.png)
4. cat command
Lists the content of the files.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-336-1024x172.png)
5. cp command
Used to copy the files from one directory to another directory
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-340-1024x103.png)
6. mv command
It is used to move the files.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-342-1024x145.png)
7. mkdir command
To create a directory
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-345-1024x106.png)
8. rmdir command
To remove or delete a directory
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-347-1024x103.png)
9. rm command
To delete a directory — use rm -r
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-349-1024x102.png)
10. find command
To find or locate a file.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-351-1024x102.png)
11. grep command
To search and see through all the text files.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-353-1024x105.png)
12. sudo command
Enables to perform the task which requires root permission
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-355-1024x143.png)
13. df command
To see the report of disk usage system. df -m.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-357.png)
14. tar command
To untar a files whch was in zip format.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-359-1024x141.png)
15. chmod command
chmod is used to change the read, write, and permissions of files
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-361-1024x481.png)
16. wget command
To install any linux files through a http address.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-363-1024x209.png)
Commands:
17. echo command
To move data in the text file. echo Hello, Prwatech >> name.txt
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-365-1024x118.png)
18. sudo apt-get update
Helps to keep the files and packages up to date.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-370-1024x261.png)
19. sudo apt-get upgrade
Helps to upgrade a package to a latest upgraded changes
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-372-1024x332.png)
20. sudo apt-get install
It is used to install a specific file or package in Linux
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-376-1024x419.png)
21. sudo apt-get remove
To uninstall or remove a file or a package.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-378.png)
22. dir
used to display the list of all directories or folder.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-380.png)
23. clear
To clear the screen of Terminal.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-382.png)
24. whereis
Helps to locate or find a specific file.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-384.png)
25.man command
Display summary information of a command.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-386.png)
26. command –help
help Display short summary information
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-388.png)
27. info
Display detailed manual of a command.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-390.png)
28. locate pattern
Search and print files and folders
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-392.png)
29.lsblk
List block devices.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-394.png)
30. df -H
Report file system disk space usage.
![](https://prwatech.in/blog/wp-content/uploads/2021/01/Screenshot-396.png)