{"id":23,"date":"2023-02-16T11:45:58","date_gmt":"2023-02-16T11:45:58","guid":{"rendered":"https:\/\/linux.atheesh.com\/?p=23"},"modified":"2023-03-21T15:59:21","modified_gmt":"2023-03-21T15:59:21","slug":"what-are-the-100-most-common-linux-commands-and-its-use","status":"publish","type":"post","link":"https:\/\/linux.atheesh.com\/index.php\/2023\/02\/16\/what-are-the-100-most-common-linux-commands-and-its-use\/","title":{"rendered":"What are the 100 most common linux commands and its use?"},"content":{"rendered":"\n<p>Here are 100 commonly used Linux commands and a brief explanation of their usage:<\/p>\n\n\n\n<p>ls &#8211; lists the contents of a directory<br>cd &#8211; changes the current working directory<br>pwd &#8211; displays the current working directory<br>mkdir &#8211; creates a new directory<br>rmdir &#8211; removes a directory<br>touch &#8211; creates a new empty file<br>rm &#8211; removes a file or directory<br>cp &#8211; copies files or directories<br>mv &#8211; moves or renames files or directories<br>cat &#8211; displays the contents of a file<br>less &#8211; displays the contents of a file one page at a time<br>grep &#8211; searches for a pattern in a file<br>find &#8211; searches for files in a directory hierarchy<br>chmod &#8211; changes the permissions of a file or directory<br>chown &#8211; changes the ownership of a file or directory<br>ps &#8211; displays information about running processes<br>top &#8211; displays real-time information about system performance<br>kill &#8211; sends a signal to terminate a process<br>tar &#8211; creates or extracts compressed archives<br>gzip &#8211; compresses or decompresses files<br>gunzip &#8211; decompresses gzip files<br>ping &#8211; tests network connectivity<br>ifconfig &#8211; displays network interface configuration<br>netstat &#8211; displays network connections and statistics<br>route &#8211; displays or modifies network routing tables<br>ssh &#8211; connects to a remote system using the Secure Shell protocol<br>scp &#8211; copies files between systems using the Secure Copy protocol<br>rsync &#8211; synchronizes files between systems<br>wget &#8211; downloads files from the web<br>curl &#8211; transfers data from or to a server<br>uname &#8211; displays information about the system<br>date &#8211; displays or sets the system date and time<br>cal &#8211; displays a calendar<br>whoami &#8211; displays the current user<br>su &#8211; switches to the root user or another user account<br>sudo &#8211; executes a command with elevated privileges<br>passwd &#8211; changes the user password<br>history &#8211; displays the command history<br>alias &#8211; creates a shortcut for a command<br>echo &#8211; displays text on the screen<br>tee &#8211; reads from standard input and writes to standard output and files<br>wc &#8211; displays the number of lines, words, and characters in a file<br>sort &#8211; sorts lines in a file<br>uniq &#8211; removes duplicate lines from a file<br>cut &#8211; extracts fields from a file<br>sed &#8211; performs text transformations on a file<br>awk &#8211; processes and manipulates text files<br>diff &#8211; compares two files or directories<br>patch &#8211; applies a patch to a file<br>tar &#8211; creates or extracts compressed archives<br>gzip &#8211; compresses or decompresses files<br>gunzip &#8211; decompresses gzip files<br>zcat &#8211; displays the contents of a compressed file<br>tail &#8211; displays the last lines of a file<br>head &#8211; displays the first lines of a file<br>tr &#8211; translates characters in a file<br>xargs &#8211; reads items from standard input and executes a command with them<br>cut &#8211; extracts fields from a file<br>paste &#8211; combines lines from multiple files<br>df &#8211; displays disk usage statistics<br>du &#8211; displays disk usage for a file or directory<br>mount &#8211; mounts a file system<br>umount &#8211; unmounts a file system<br>free &#8211; displays memory usage statistics<br><\/p>\n\n\n\n<p>top &#8211; displays real-time information about system performance<\/p>\n\n\n\n<p>ps &#8211; displays information about running processes<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are 100 commonly used Linux commands and a brief explanation of their usage: ls &#8211; lists the contents of a directorycd &#8211; changes the current working directorypwd &#8211; displays the current working directorymkdir &#8211; creates a new directoryrmdir &#8211; removes a directorytouch &#8211; creates a new empty filerm &#8211; removes a file or directorycp [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":25,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9,1],"tags":[],"_links":{"self":[{"href":"https:\/\/linux.atheesh.com\/index.php\/wp-json\/wp\/v2\/posts\/23"}],"collection":[{"href":"https:\/\/linux.atheesh.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux.atheesh.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux.atheesh.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux.atheesh.com\/index.php\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":1,"href":"https:\/\/linux.atheesh.com\/index.php\/wp-json\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":24,"href":"https:\/\/linux.atheesh.com\/index.php\/wp-json\/wp\/v2\/posts\/23\/revisions\/24"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux.atheesh.com\/index.php\/wp-json\/wp\/v2\/media\/25"}],"wp:attachment":[{"href":"https:\/\/linux.atheesh.com\/index.php\/wp-json\/wp\/v2\/media?parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux.atheesh.com\/index.php\/wp-json\/wp\/v2\/categories?post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux.atheesh.com\/index.php\/wp-json\/wp\/v2\/tags?post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}