20 Basic Linux Commands and their Uses.

Following are the top 20 basic Linux Commands with Live Examples that would definitely help you start your Linux journey.

  1. pwd: The PWD Command is used to display your current working directory. 
  2. ls: The ls command in Linux will help you to list all the content present inside your current working directory.
  3. cd: The cd command in Linux is used to browse through the directory.
  4. mkdir/rmdir: The mkdir command in Linux is used to create directory/directories, whereas the rmdir is used to remove a directory.
  5. rm: The rm -r command in Linux is used to remove directories containing files. 
  6. touch: You can use the touch command to create file.
  7. find: You can easily find any specific file or directory located in your current working directory.
  8. cp: The cp command in Linux is used to copy files/directories from one directory to another. 
  9. mv: The mv command is used to simply rename files.
  10. cat: This command is used to view the contents of a file.
  11. vi/nano: Both of the commands are used to modify the contents of a file.
  12. df: This command will display the available & used disk space of every partition in your system.
  13. du: The du command can be used to track files and directories that are consuming a high amount of disk space on your server’s hard disk.
  14. zip/unzip: To compress a file or files into a zip format, use the zip command. You can use the unzip command to extract the zip files.
  15. uname: The uname command is used to display the information about the operating system your server using.
  16. tar: You can use the tar command to create compressed or uncompressed Archive files and also maintain and modify them. 
  17. chmod: he chmod command is used to change the files/directories permissions. 
  18. ping: This command is used to troubleshoot the connectivity and reachability of the domain or server.
  19. top: This command displays the real-time view of all the processes running,
  20. exit: The exit command is used to close and exit from the terminal.
To get more information related to given commands and their uses, check the blog.
  • basic linux commands, basic linux commands with example, cd command with example, df command with example, exit command with example, beginners linux commands, cp command with example, basic putty commands, best linux commands, chmod command with example, best linux commands with example, best PuTTY commands, ls command with example, cat command with example, linux basic commands, mv command with example, nano command with example, most used linux commands list, Linux putty commands with example, find command with example, linux commands with example, Linux putty commands, top command with example, top commands for linux, top linux commands, touch command with example, unzip command with example, vi command with example, where linux command, mkdir command with example, ssh commands, zip command with example, pwd command with example, linux commands to start, ping command with example, tar command with example, rm command with example, linux commands for beginner
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What are some Basic SSH commands?

List of some basic SSH commands are: ls – This command is used to list all files and...

How to connect to SSH?

Putty is an open-source SSH client used to connect to a remote server. This article describes how...

How to Block/Unblock IPs from SSH?

You can easily block or unblock IPs  from SSH. #1. Block An IP Address from SSH First of all,...

How to install CpCleaner in cPanel through SSH?

CpCleaner is a cPanel plugin created to give cPanel users the option to clean junk files that...

How to find recent cPanel login sessions via SSH?

You can easily check the cPanel login sesssions via SSH by executing below given commands. The...