{"id":11326,"date":"2019-03-13T01:26:33","date_gmt":"2019-03-13T01:26:33","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=11326"},"modified":"2019-03-13T03:22:43","modified_gmt":"2019-03-13T03:22:43","slug":"a-z-linux-commands-overview-with-examples","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/","title":{"rendered":"A \u2013 Z LINUX COMMANDS (136) \u2013 OVERVIEW WITH EXAMPLES"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/06\/Linux-Commands-Cheat-Sheet.png\" alt=\"Linux Commands Cheat Sheet\" \/><\/p>\n<table border=\"1\" width=\"200\">\n<tbody>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#adduser\/addgroup\">adduser\/addgroup<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#agetty\">agetty<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#alias\">alias<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#anacron\">anacron<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#apropos\">apropos<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#apt\">apt<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#apt-get\">apt-get<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#aptitude\">aptitude<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#arch\">arch<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#arp\">arp<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#at\">at<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#atq\">atq<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#atrm\">atrm<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#awk\">awk<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#batch\">batch<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#basename\">basename<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#bc\">bc<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#bg\">bg<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#bzip\">bzip<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#cal\">cal<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#cat\">cat<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#chgrp\">chgrp<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#chmod\">chmod<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#chown\">chown<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#cksum\">cksum<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#clear\">clear<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#cmp\">cmp<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#comm\">comm<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#cp\">cp<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#date\">date<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#dd\">dd<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#df\">df<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#diff\">diff<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#dir\">dir<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#dmidecode\">dmidecode<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#du\">du<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#echo\">echo<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#eject\">eject<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#env\">env<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#exit\">exit<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#expr\">expr<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#factor\">factor<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#find\">find<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#free\">free<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#grep\">grep<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#groups\">groups<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#gzip\">gzip<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#gunzip\">gunzip<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#head\">head<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#history\">history<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#hostname\">hostname<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#hostnamectl\">hostnamectl<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#hwclock\">hwclock<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#hwinfo\">hwinfo<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#id\">id<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#ifconfig\">ifconfig<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#ionice\">ionice<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#iostat\">iostat<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#ip\">ip<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#iptables\">iptables<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#iw\">iw<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#iwlist\">iwlist<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#kill\">kill<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#killall\">killall<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#kmod\">kmod<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#last\">last<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#ln\">ln<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#locate\">locate<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#login\">login<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#ls\">ls<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#lshw\">lshw<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#lscpu\">lscpu<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#lsof\">lsof<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#lsusb\">lsusb<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#man\">man<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#mdsum\">mdsum<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#mkdir\">mkdir<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#more\">more<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#mv\">mv<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#nano\">nano<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#nc\/netcat\">nc\/netcat<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#netstat\">netstat<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#nice\">nice<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#nmap\">nmap<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#nproc\">nproc<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#openssl\">openssl<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#passwd\">passwd<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#pidof\">pidof<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#ping\">ping<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#ps\">ps<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#pstree\">pstree<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#pwd\">pwd<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#rdiff-backup\">rdiff-backup<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#reboot\">reboot<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#rename\">rename<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#rm\">rm<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#rmdir\">rmdir<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#scp\">scp<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#shutdown\">shutdown<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#sleep\">sleep<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#sort\">sort<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#split\">split<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#ssh\">ssh<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#stat\">stat<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#su\">su<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#sudo\">sudo<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#sum\">sum<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#tac\">tac<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#tail\">tail<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#talk\">talk<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#tar\">tar<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#tee\">tee<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#time\">time<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#top\">top<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#touch\">touch<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#tr\">tr<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#uname\">uname<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#uniq\">uniq<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#uptime\">uptime<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#users\">users<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#vim\/vi\">vim\/vi<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#w\">w<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#wall\">wall<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#watch\">watch<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#wc\">wc<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#wget\">wget<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#whatis\">whatis<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#which\">which<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#who\">who<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#whereis\">whereis<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#xargs\">xargs<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#yes\">yes<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#youtube-dl\">youtube-dl<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#zcmp\/zdiff\">zcmp\/zdiff<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#zip\">zip<\/a><\/td>\n<td><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/#zz\">zz<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>There are a countless number of commands in Linux. We are bound to use a number of them on a daily routine or numerous times to perform common tasks than others. It is important to note that certain commands are \u201cdistro-based\u201d \u2013 they can only be found in specific distros. While others are generic Unix\/Linux commands that you\u2019ll find in all if not most mainstream distros.<\/p>\n<p>In this article, we will introduce you a list of most frequently used Linux commands with their examples for easy learning. You can find the actual description of each Linux command in their manual page which you can access like this:<\/p>\n<pre>$ man command-name\r\n<\/pre>\n<h1 id=\"adduser\/addgroup\"><strong>adduser\/addgroup Command<\/strong><\/h1>\n<p>The\u00a0<strong>adduser<\/strong>\u00a0and\u00a0<strong>addgroup<\/strong>\u00a0commands are used to add a user and group to the system respectively according to the default configuration specified in\u00a0<strong>\/etc\/adduser.conf<\/strong>\u00a0file.<\/p>\n<pre>$ sudo adduser tecmint\r\n<\/pre>\n<p>For more\u00a0<strong>adduser<\/strong>\u00a0and\u00a0<strong>addgroup<\/strong>\u00a0commands:\u00a0<a href=\"https:\/\/www.tecmint.com\/add-users-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">15 Practical Examples on adduser Command in Linux<\/a><\/p>\n<h1 id=\"agetty\"><strong>agetty Command<\/strong><\/h1>\n<p><strong>agetty<\/strong>\u00a0is a program which manages physical or virtual terminals and is invoked by\u00a0<strong>init<\/strong>. Once it detects a connection, it opens a tty port, asks for a user\u2019s login name and calls up the\u00a0<strong>\/bin\/login<\/strong>\u00a0command.\u00a0<strong>Agetty<\/strong>\u00a0is a substitute of Linux\u00a0<strong>getty<\/strong>:<\/p>\n<pre>$ agetty -L 9600 ttyS1 vt100\r\n<\/pre>\n<h1 id=\"alias\"><strong>alias Command<\/strong><\/h1>\n<p><strong>alias<\/strong>\u00a0is a useful shell built-in command for creating aliases (shortcut) to a Linux command on a system. It is helpful for creating new\/custom commands from existing Shell\/Linux commands (including options):<\/p>\n<pre>$ alias home='cd \/home\/tecmint\/public_html'\r\n<\/pre>\n<p>The above command will create an alias called\u00a0<strong>home<\/strong>\u00a0for\u00a0<strong>\/home\/tecmint\/public_html<\/strong>\u00a0directory, so whenever you type\u00a0<strong>home<\/strong>\u00a0in the terminal prompt, it will put you in the\u00a0<strong>\/home\/tecmint\/public_html<\/strong>\u00a0directory.<\/p>\n<h1 id=\"anacron\"><strong>anacron Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/cron-vs-anacron-schedule-jobs-using-anacron-on-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">anacron<\/a>\u00a0is a Linux facility used to run commands periodically with a frequency defined in days, weeks and months.<\/p>\n<p>Unlike its sister\u00a0<a href=\"https:\/\/www.tecmint.com\/11-cron-scheduling-task-examples-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">cron<\/a>; it assumes that a system will not run continuously, therefore if a scheduled job is due when the system is off, it\u2019s run once the machine is powered on.<\/p>\n<div class=\"google-auto-placed ap_container\">\n<p>For more information about\u00a0<strong>anacron<\/strong>\u00a0and\u00a0<strong>cron<\/strong>\u00a0read:\u00a0<a href=\"https:\/\/www.tecmint.com\/cron-vs-anacron-schedule-jobs-using-anacron-on-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">Cron Vs Anacron: How to Schedule Jobs Using Anacron on Linux<\/a><\/p>\n<h1 id=\"apropos\"><strong>apropos Command<\/strong><\/h1>\n<p><strong>apropos<\/strong>\u00a0command is used to\u00a0<a href=\"https:\/\/www.tecmint.com\/find-linux-command-description-and-location\/\" target=\"_blank\" rel=\"noopener noreferrer\">search and display a short man page description<\/a>\u00a0of a command\/program as follows.<\/p>\n<pre>$ apropos adduser\r\n<\/pre>\n<h1 id=\"apt\"><strong>apt Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/apt-advanced-package-command-examples-in-ubuntu\/\" target=\"_blank\" rel=\"noopener noreferrer\">apt<\/a>\u00a0tool is a relatively new higher-level package manager for Debian\/Ubuntu systems:<\/p>\n<pre>$ sudo apt update\r\n<\/pre>\n<p>For more apt usage read:\u00a0<a href=\"https:\/\/www.tecmint.com\/apt-advanced-package-command-examples-in-ubuntu\/\" target=\"_blank\" rel=\"noopener noreferrer\">15 Useful Examples on APT Command<\/a><\/p>\n<h1 id=\"apt-get\"><strong>apt-get Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/useful-basic-commands-of-apt-get-and-apt-cache-for-package-management\/\" target=\"_blank\" rel=\"noopener noreferrer\">apt-get<\/a>\u00a0is a powerful and free front-end package manager for Debian\/Ubuntu systems. It is used to install new software packages, remove available software packages, upgrade existing software packages as well as upgrade entire operating system.<\/p>\n<pre>$ sudo apt-get update\r\n<\/pre>\n<p>For more apt-get usage, read:\u00a0<a href=\"https:\/\/www.tecmint.com\/useful-basic-commands-of-apt-get-and-apt-cache-for-package-management\/\" target=\"_blank\" rel=\"noopener noreferrer\">25 Useful Commands of APT-GET for Package Management<\/a><\/p>\n<h1 id=\"aptitude\"><strong>aptitude Command<\/strong><\/h1>\n<p><strong>aptitude<\/strong>\u00a0is a powerful text-based interface to the Debian GNU\/Linux package management system. Like\u00a0<strong>apt-get<\/strong>\u00a0and\u00a0<strong>apt<\/strong>; it can be used to install, remove or upgrade software packages on a system.<\/p>\n<pre>$ sudo aptitude update\r\n<\/pre>\n<p>For more usage on aptitude, read:\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-package-management\/\" target=\"_blank\" rel=\"noopener noreferrer\">Learn Debian Package Management with Aptitude Command<\/a><\/p>\n<h1 id=\"arch\"><strong>arch Command<\/strong><\/h1>\n<p><strong>arch<\/strong>\u00a0is a simple command for displaying machine architecture or hardware name (similar to\u00a0<strong>uname -m<\/strong>):<\/p>\n<pre>$ arch \r\n<\/pre>\n<h1 id=\"arp\"><strong>arp Command<\/strong><\/h1>\n<p><strong>ARP<\/strong>\u00a0(<strong>Address Resolution Protocol<\/strong>) is a protocol that maps IP network addresses of a network neighbor with the hardware (MAC) addresses in an IPv4 network.<\/p>\n<p>You can use it as below to find all alive hosts on a network:<\/p>\n<pre>$ sudo arp-scan --interface=enp2s0 --localnet  \r\n<\/pre>\n<h1 id=\"at\"><strong>at Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/linux-cron-alternative-at-command-to-schedule-tasks\/\" target=\"_blank\" rel=\"noopener noreferrer\">at command<\/a>\u00a0is used to schedule tasks to run in a future time. It\u2019s an alternative to\u00a0<strong>cron<\/strong>\u00a0and\u00a0<strong>anacron<\/strong>, however, it runs a task once at a given future time without editing any config files:<\/p>\n<p>For example, to shutdown the system at 23:55 today, run:<\/p>\n<pre>$ sudo echo \"shutdown -h now\" | at -m 23:55\r\n<\/pre>\n<h1 id=\"atq\"><strong>atq Command<\/strong><\/h1>\n<p><strong>atq<\/strong>\u00a0command is used to view jobs in\u00a0<strong>at command<\/strong>\u00a0queue:<\/p>\n<pre>$ atq\r\n<\/pre>\n<h1 id=\"atrm\"><strong>atrm Command<\/strong><\/h1>\n<p><strong>atrm<\/strong>\u00a0command is used to remove\/deletes jobs (identified by their job number) from at command queue:<\/p>\n<pre>$ atrm 2\r\n<\/pre>\n<p>For more usage about\u00a0<strong>at<\/strong>\u00a0command, read:\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-cron-alternative-at-command-to-schedule-tasks\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Use \u2018at\u2019 Command to Schedule a Task in Linux<\/a><\/p>\n<h1 id=\"awk\"><strong>awk Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/category\/awk-command\/\" target=\"_blank\" rel=\"noopener noreferrer\">Awk<\/a>\u00a0is a powerful programming language created for text processing and generally used as a data extraction and reporting tool.<\/p>\n<pre>$ awk '\/\/{print}'\/etc\/hosts\r\n<\/pre>\n<p>For more Awk concepts (basic and advance) with simple and easy-to-understand, we\u2019ve created a book that contains 13 chapters with a total of 41 pages, which covers all Awk basic and advance usage with practical examples:\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-awk-command-book-for-beginners\/\" target=\"_blank\" rel=\"noopener noreferrer\">Awk Getting Started Guide for Beginners<\/a><\/p>\n<h1 id=\"batch\"><strong>batch Command<\/strong><\/h1>\n<p><strong>batch<\/strong>\u00a0is also used to schedule tasks to run a future time, similar to the\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-cron-alternative-at-command-to-schedule-tasks\/\" target=\"_blank\" rel=\"noopener noreferrer\">at command<\/a>.<\/p>\n<h1 id=\"basename\"><strong>basename Command<\/strong><\/h1>\n<p><strong>basename<\/strong>\u00a0command helps to print the name of a file stripping of directories in the absolute path:<\/p>\n<pre>$ basename bin\/findhosts.sh\r\n<\/pre>\n<h1 id=\"bc\"><strong>bc Command<\/strong><\/h1>\n<p><strong>bc<\/strong>\u00a0is a simple yet powerful and arbitrary precision CLI calculator language which can be used like this:<\/p>\n<pre>$ echo 20.05 + 15.00 | bc\r\n<\/pre>\n<h1 id=\"bg\"><strong>bg Command<\/strong><\/h1>\n<p><strong>bg<\/strong>\u00a0is a command used to send a process to the background.<\/p>\n<pre>$ tar -czf home.tar.gz .\r\n$ bg \r\n$ jobs\r\n<\/pre>\n<p>To learn more about bg command, read:\u00a0<a href=\"https:\/\/www.tecmint.com\/run-linux-command-process-in-background-detach-process\/\" target=\"_blank\" rel=\"noopener noreferrer\">Start Linux Command in Background and Detach Process in Terminal<\/a><\/p>\n<h1 id=\"bzip2\"><strong>bzip2 Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/linux-compress-decompress-bz2-files-using-bzip2\/\" target=\"_blank\" rel=\"noopener noreferrer\">bzip2<\/a>\u00a0command is used to compress or decompress file(s).<\/p>\n<pre>$ bzip2 -z filename      #Compress\r\n$ bzip2 -d filename.bz2  #Decompress\r\n<\/pre>\n<p>To learn more examples on bzip2, read:\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-compress-decompress-bz2-files-using-bzip2\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Compress and Decompress a .bz2 File in Linux<\/a><\/p>\n<h1 id=\"cal\"><strong>cal Command<\/strong><\/h1>\n<p>The\u00a0<strong>cal<\/strong>\u00a0command print a calendar on the standard output.<\/p>\n<pre>$ cal\r\n<\/pre>\n<h1 id=\"cat\"><strong>cat Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/13-basic-cat-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">cat command<\/a>\u00a0is used to view contents of a file or concatenate files, or data provided on standard input, and display it on the standard output.<\/p>\n<pre>$ cat file.txt\r\n<\/pre>\n<p>To learn more about cat command, read:\u00a0<a href=\"https:\/\/www.tecmint.com\/13-basic-cat-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">13 Useful Cat Command Examples on Linux<\/a><\/p>\n<h1 id=\"chgrp\"><strong>chgrp Command<\/strong><\/h1>\n<p><strong>chgrp<\/strong>\u00a0command is used to change the group ownership of a file. Provide the new group name as its first argument and the name of file as the second argument like this:<\/p>\n<pre>$ chgrp tecmint users.txt\r\n<\/pre>\n<h1 id=\"chmod\"><strong>chmod Command<\/strong><\/h1>\n<p><strong>chmod<\/strong>\u00a0command is used to change\/update file access permissions like this.<\/p>\n<pre>$ chmod +x sysinfo.sh\r\n<\/pre>\n<h1 id=\"chown\"><strong>chown Command<\/strong><\/h1>\n<p><strong>chown<\/strong>\u00a0command changes\/updates the user and group ownership of a file\/directory like this.<\/p>\n<pre>$ chmod -R www-data:www-data \/var\/www\/html\r\n<\/pre>\n<p>To learn more about chgrp, chmod and chwon commands, read:\u00a0<a href=\"https:\/\/www.tecmint.com\/manage-users-and-groups-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">Managing Users &amp; Groups, File Permissions &amp; Attributes in Linux<\/a><\/p>\n<h1 id=\"cksum\"><strong>cksum Command<\/strong><\/h1>\n<p><strong>cksum<\/strong>\u00a0command is used to display the CRC checksum and byte count of an input file.<\/p>\n<pre>$ cksum README.txt\r\n<\/pre>\n<h1 id=\"clear\"><strong>clear Command<\/strong><\/h1>\n<p><strong>clear<\/strong>\u00a0command lets you clear the terminal screen, simply type.<\/p>\n<pre>$ clear\r\n<\/pre>\n<h1 id=\"cmp\"><strong>cmp Command<\/strong><\/h1>\n<p><strong>cmp<\/strong>\u00a0performs a byte-by-byte comparison of two files like this.<\/p>\n<pre>$ cmp file1 file2\r\n<\/pre>\n<h1 id=\"comm\"><strong>comm Command<\/strong><\/h1>\n<p><strong>comm<\/strong>\u00a0command is used to compare two sorted files line-by-line as shown below.<\/p>\n<pre>$ comm file1 file2\r\n<\/pre>\n<h1 id=\"cp\"><strong>cp Command<\/strong><\/h1>\n<p><strong>cp<\/strong>\u00a0command is used for copying files and directories from one location to another.<\/p>\n<pre>$ cp \/home\/tecmint\/file1 \/home\/tecmint\/Personal\/\r\n<\/pre>\n<p>For more information on how to copy files in Linux, read:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/copy-file-to-multiple-directories-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Copy a File to Multiple Directories in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/advanced-copy-command-shows-progress-bar-while-copying-files\/\" target=\"_blank\" rel=\"noopener noreferrer\">Advanced Copy Command \u2013 Shows Progress Bar While Copying Large Files\/Folders in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/progress-monitor-check-progress-of-linux-commands\/\" target=\"_blank\" rel=\"noopener noreferrer\">Progress \u2013 A Tiny Tool to Monitor Progress for (cp, mv, dd, tar, etc.) Commands in Linux<\/a><\/li>\n<\/ol>\n<h1 id=\"date\"><strong>date Command<\/strong><\/h1>\n<p><strong>date<\/strong>\u00a0command displays\/sets the system date and time like this.<\/p>\n<pre>$ date\r\n$ date --set=\"8 JUN 2017 13:00:00\"\r\n<\/pre>\n<p>To learn more about how to set date in Linux, read:\u00a0<a href=\"https:\/\/www.tecmint.com\/set-time-timezone-and-synchronize-time-using-timedatectl-command\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Set System Date in Linux<\/a><\/p>\n<h1 id=\"dd\"><strong>dd Command<\/strong><\/h1>\n<p><strong>dd<\/strong>\u00a0command is used for copying files, converting and formatting according to flags provided on the command line. It can strip headers, extracting parts of binary files and so on.<\/p>\n<p>The example below shows creating a boot-able USB device:<\/p>\n<pre>$ dd if=\/home\/tecmint\/kali-linux-1.0.4-i386.iso of=\/dev\/sdc1 bs=512M; sync\r\n<\/pre>\n<h1 id=\"df\"><strong>df Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/how-to-check-disk-space-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">df command<\/a>\u00a0is used to show file system disk space usage as follows.<\/p>\n<pre>$ df -h\r\n<\/pre>\n<p>For more usage on df command, read:\u00a0<a href=\"https:\/\/www.tecmint.com\/how-to-check-disk-space-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">12 Useful \u2018df\u2019 Command Examples to Check Disk Space<\/a><\/p>\n<h1 id=\"diff\"><strong>diff Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/compare-find-difference-between-two-directories-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">diff command<\/a>\u00a0is used to compare two files line by line. It can also be used to\u00a0<a href=\"https:\/\/www.tecmint.com\/best-linux-file-diff-tools-comparison\/\" target=\"_blank\" rel=\"noopener noreferrer\">find the difference between two directories<\/a>\u00a0in Linux like this:<\/p>\n<pre>$ diff file1 file2\r\n<\/pre>\n<p>Some useful diff tools for Linux:\u00a0<a href=\"https:\/\/www.tecmint.com\/best-linux-file-diff-tools-comparison\/\" target=\"_blank\" rel=\"noopener noreferrer\">8 Best File Comparison and Difference (Diff) Tools for Linux<\/a><\/p>\n<h1 id=\"dir\"><strong>dir Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/linux-dir-command-usage-with-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">dir command<\/a>\u00a0works like Linux\u00a0<a href=\"https:\/\/www.tecmint.com\/tag\/linux-ls-command\/\" target=\"_blank\" rel=\"noopener noreferrer\">ls command<\/a>, it lists the contents of a directory.<\/p>\n<pre>$ dir\r\n<\/pre>\n<h1 id=\"dmidecode\"><strong>dmidecode Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/how-to-get-hardware-information-with-dmidecode-command-on-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">dmidecode command<\/a>\u00a0is a tool for retrieving hardware information of any Linux system. It dumps a computer\u2019s DMI (a.k.a SMBIOS) table contents in a human-readable format for easy retrieval.<\/p>\n<p>To view your system hardware info, you can type:<\/p>\n<pre>$ sudo dmidecode --type system\r\n<\/pre>\n<p>Some useful tools to find out Linux system hardware info:\u00a0<a href=\"https:\/\/www.tecmint.com\/commands-to-collect-system-and-hardware-information-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">10 Useful Commands to Get Linux Hardware Information<\/a><\/p>\n<h1 id=\"du\"><strong>du Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/check-linux-disk-usage-of-files-and-directories\/\" target=\"_blank\" rel=\"noopener noreferrer\">du command<\/a>\u00a0is used to show disk space usage of files present in a directory as well as its sub-directories as follows.<\/p>\n<pre>$ du \/home\/aaronkilik\r\n<\/pre>\n<h1 id=\"echo\"><strong>echo Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/echo-command-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">echo command<\/a>\u00a0prints a text of line provided to it.<\/p>\n<pre>$ echo \u201cThis is TecMint - Linux How Tos\u201d\r\n<\/pre>\n<h1 id=\"eject\"><strong>eject Command<\/strong><\/h1>\n<p><strong>eject command<\/strong>\u00a0is used to eject removable media such as DVD\/CD ROM or floppy disk from the system.<\/p>\n<pre>$ eject \/dev\/cdrom\r\n$ eject \/mnt\/cdrom\/\r\n$ eject \/dev\/sda\r\n<\/pre>\n<h1 id=\"env\"><strong>env Command<\/strong><\/h1>\n<p><strong>env command<\/strong>\u00a0lists all the current environment variables and used to set them as well.<\/p>\n<pre>$ env\r\n<\/pre>\n<p>Learn more on\u00a0<a href=\"https:\/\/www.tecmint.com\/set-unset-environment-variables-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Set and Unset Environment Variables in Linux<\/a><\/p>\n<h1 id=\"exit\"><strong>exit Command<\/strong><\/h1>\n<p><strong>exit command<\/strong>\u00a0is used to exit a shell like so.<\/p>\n<pre>$ exit\r\n<\/pre>\n<h1 id=\"expr\"><strong>expr Command<\/strong><\/h1>\n<p><strong>expr command<\/strong>\u00a0is used to calculate an expression as shown below.<\/p>\n<pre>$ expr 20 + 30\r\n<\/pre>\n<h1 id=\"factor\"><strong>factor Command<\/strong><\/h1>\n<p><strong>factor command<\/strong>\u00a0is used to show the prime factors of a number.<\/p>\n<pre>$ factor 10\r\n<\/pre>\n<h1 id=\"find\"><strong>find Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/35-practical-examples-of-linux-find-command\/\" target=\"_blank\" rel=\"noopener noreferrer\">find command<\/a>\u00a0lets you search for files in a directory as well as its sub-directories. It searches for files by attributes such as permissions, users, groups, file type, date, size and other possible criteria.<\/p>\n<pre>$ find \/home\/tecmint\/ -name tecmint.txt\r\n<\/pre>\n<p>Learn more on how to find files in Linux:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/linux-find-command-to-search-multiple-filenames-extensions\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Use \u2018find\u2019 Command to Search for Multiple Filenames (Extensions)<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/find-number-of-files-in-directory-subdirectories-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Find Number of Files in a Directory and Subdirectories<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/find-recent-modified-files-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Find Today\u2019s Modified Files in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/find-and-sort-files-modification-date-and-time-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Find and Sort Files Based on Modified Date and Time<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/find-top-large-directories-and-files-sizes-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Find Top Directories and Files (Disk Space) in Linux<\/a><\/li>\n<\/ol>\n<h1 id=\"free\"><strong>free Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/check-memory-usage-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">free command<\/a>\u00a0shows the system memory usage (free, used, swapped, cached, etc.) in the system including swap space. Use the<code> -h<\/code>\u00a0option to display output in human friendly format.<\/p>\n<pre>$ free -h \r\n<\/pre>\n<p>Learn more on how to find memory usage in Linux.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/find-linux-processes-memory-ram-cpu-usage\/\" target=\"_blank\" rel=\"noopener noreferrer\">Find Top Running Processes by Highest Memory and CPU Usage in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/smem-linux-memory-usage-per-process-per-user\/\" target=\"_blank\" rel=\"noopener noreferrer\">Smem \u2013 Reports Memory Consumption Per-Process and Per-User Basis in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/clear-ram-memory-cache-buffer-and-swap-space-on-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Clear RAM Memory Cache, Buffer and Swap Space on Linux<\/a><\/li>\n<\/ol>\n<h1 id=\"grep\"><strong>grep Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/12-practical-examples-of-linux-grep-command\/\" target=\"_blank\" rel=\"noopener noreferrer\">grep command<\/a>\u00a0searches for a specified pattern in a file (or files) and displays in output lines containing that pattern as follows.<\/p>\n<pre>$ grep \u2018tecmint\u2019 domain-list.txt\r\n<\/pre>\n<p>Learn more about grep command usage in Linux.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/difference-between-grep-egrep-and-fgrep-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">What\u2019s Difference Between Grep, Egrep and Fgrep in Linux?<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/12-practical-examples-of-linux-grep-command\/\" target=\"_blank\" rel=\"noopener noreferrer\">12 Basic Linux \u2018Grep\u2019 Command Examples in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/linux-grep-commands-character-classes-bracket-expressions\/\" target=\"_blank\" rel=\"noopener noreferrer\">11 Advanced Linux \u2018Grep\u2019 Commands in Linux<\/a><\/li>\n<\/ol>\n<h1 id=\"groups\"><strong>groups Command<\/strong><\/h1>\n<p><strong>groups command<\/strong>\u00a0displays all the names of groups a user is a part of like this.<\/p>\n<pre>$ groups\r\n$ groups tecmint\r\n<\/pre>\n<h1 id=\"gzip\"><strong>gzip Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/increase-nginx-performance-enable-gzip-compression-module\/\" target=\"_blank\" rel=\"noopener noreferrer\">Gzip<\/a>\u00a0helps to compress a file, replaces it with one having a\u00a0<code>.gz<\/code>\u00a0extension as shown below:<\/p>\n<pre>$ gzip passwds.txt\r\n$ cat file1 file2 | gzip &gt; foo.gz\r\n<\/pre>\n<h1 id=\"gunzip\"><strong>gunzip Command<\/strong><\/h1>\n<p><strong>gunzip<\/strong>\u00a0expands or restores files compressed with\u00a0<strong>gzip<\/strong>\u00a0command like this.<\/p>\n<pre>$ gunzip foo.gz\r\n<\/pre>\n<h1 id=\"head\"><strong>head Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/view-contents-of-file-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">head command<\/a>\u00a0is used to show first lines (10 lines by default) of the specified file or stdin to the screen:<\/p>\n<pre># ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head \r\n<\/pre>\n<h1 id=\"history\"><strong>history Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/history-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">history command<\/a>\u00a0is used to show previously used commands or to get info about command executed by a user.<\/p>\n<pre>$ history\r\n<\/pre>\n<p>Learn more about Linux history command.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/history-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">The Power of Linux \u201cHistory Command\u201d in Bash Shell<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/display-linux-command-history-with-date-and-time\/\" target=\"_blank\" rel=\"noopener noreferrer\">Set Date and Time for Each Command You Execute in Bash History<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/view-yum-history-to-find-packages-info\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Use \u2018Yum History\u2019 to Find Out Installed\/Removed Packages Info<\/a><\/li>\n<\/ol>\n<h1 id=\"hostname\"><strong>hostname Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/set-hostname-permanently-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">hostname command<\/a>\u00a0is used to print or set system hostname in Linux.<\/p>\n<pre>$ hostname\r\n$ hostname NEW_HOSTNAME\r\n<\/pre>\n<h1 id=\"hostnamectl\"><strong>hostnamectl Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/set-hostname-permanently-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">hostnamectl command<\/a>\u00a0controls the system hostname under systemd. It is used to print or modify the system hostname and any related settings:<\/p>\n<pre>$ hostnamectl\r\n$ sudo hostnamectl set-hostname NEW_HOSTNAME\r\n<\/pre>\n<h1 id=\"hwclock\"><strong>hwclock<\/strong><\/h1>\n<p><strong>hwclock<\/strong>\u00a0is a tool for managing the system hardware clock; read or set the hardware clock (RTC).<\/p>\n<pre>$ sudo hwclock\r\n$ sudo hwclock --set --date 8\/06\/2017\r\n<\/pre>\n<h1 id=\"hwinfo\"><strong>hwinfo Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/check-linux-cpu-information\/\" target=\"_blank\" rel=\"noopener noreferrer\">hwinfo<\/a>\u00a0is used to probe for the hardware present in a Linux system like this.<\/p>\n<pre>$ hwinfo\r\n<\/pre>\n<p>Learn more about how to get Linux hardware info.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/collect-linux-system-hardware-information\/\" target=\"_blank\" rel=\"noopener noreferrer\">I-Nex \u2013 An Advanced Tool to Collect System\/Hardware Information in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/check-linux-cpu-information\/\" target=\"_blank\" rel=\"noopener noreferrer\">9 Useful Tools to Get System Information in Linux<\/a><\/li>\n<\/ol>\n<h1 id=\"id\"><strong>id Command<\/strong><\/h1>\n<p><strong>id command<\/strong>\u00a0shows user and group information for the current user or specified username as shown below.<\/p>\n<pre>$ id tecmint\r\n<\/pre>\n<h1 id=\"ifconfig\"><strong>ifconfig Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/ifconfig-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">ifconfig command<\/a>\u00a0is used to configure a Linux systems network interfaces. It is used to configure, view and control network interfaces.<\/p>\n<pre>$ ifconfig\r\n$ sudo ifconfig eth0 up\r\n$ sudo ifconfig eth0 down\r\n$ sudo ifconfig eth0 172.16.25.125\r\n<\/pre>\n<h1 id=\"ionice\"><strong>ionice Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/delete-huge-files-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">ionice command<\/a>\u00a0is used to set or view process I\/O scheduling class and priority of the specified process.<\/p>\n<p>If invoked without any options, it will query the current I\/O scheduling class and priority for that process:<\/p>\n<pre>$ ionice -c 3 rm \/var\/logs\/syslog\r\n<\/pre>\n<p>To understand how it works, read this article:\u00a0<a href=\"https:\/\/www.tecmint.com\/delete-huge-files-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Delete HUGE (100-200GB) Files in Linux<\/a><\/p>\n<h1 id=\"iostat\"><strong>iostat Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/linux-performance-monitoring-with-vmstat-and-iostat-commands\/\" target=\"_blank\" rel=\"noopener noreferrer\">iostat<\/a>\u00a0is used to show CPU and input\/output statistics for devices and partitions. It produces useful reports for updating system configurations to help balance the input\/output load between physical disks.<\/p>\n<pre>$ iostat \r\n<\/pre>\n<h1 id=\"ip\"><strong>ip Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/ip-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">ip command<\/a>\u00a0is used to display or manage routing, devices, policy routing and tunnels. It also works as a replacement for well known\u00a0<a href=\"https:\/\/www.tecmint.com\/ifconfig-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">ifconfig command<\/a>.<\/p>\n<p>This command will assign an IP address to a specific interface (eth1 in this case).<\/p>\n<pre>$ sudo ip addr add 192.168.56.10 dev eth1\r\n<\/pre>\n<h1 id=\"iptables\"><strong>iptables Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/linux-iptables-firewall-rules-examples-commands\/\" target=\"_blank\" rel=\"noopener noreferrer\">iptables is a terminal based firewall<\/a>\u00a0for managing incoming and outgoing traffic via a set of configurable table rules.<\/p>\n<p>The command below is used to check existing rules on a system (using it may require root privileges).<\/p>\n<pre>$ sudo iptables -L -n -v\r\n<\/pre>\n<p>Learn more about iptables firewall in Linux.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/start-stop-disable-enable-firewalld-iptables-firewall\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Start\/Stop and Enable\/Disable FirewallD and Iptables in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/basic-guide-on-iptables-linux-firewall-tips-commands\/\" target=\"_blank\" rel=\"noopener noreferrer\">Basic Guide on IPTables (Linux Firewall) Tips \/ Commands<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/linux-firewall-iptables-interview-questions-and-answers\/\" target=\"_blank\" rel=\"noopener noreferrer\">Nishita Agarwal Shares Her Interview Experience on Linux \u2018iptables\u2019 Firewall<\/a><\/li>\n<\/ol>\n<h1 id=\"iw\"><strong>iw Command<\/strong><\/h1>\n<p><strong>iw command<\/strong>\u00a0is used to manage wireless devices and their configuration.<\/p>\n<pre>$ iw list \r\n<\/pre>\n<h1 id=\"iwlist\"><strong>iwlist Command<\/strong><\/h1>\n<p><strong>iwlist command<\/strong>\u00a0displays detailed wireless information from a wireless interface. The command below enables you to get detailed information about the\u00a0<strong>wlp1s0<\/strong>interface.<\/p>\n<pre>$ iwlist wlp1s0 scanning\r\n<\/pre>\n<h1 id=\"kill\"><strong>kill Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/how-to-kill-a-process-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">kill command<\/a>\u00a0is used to kill a process using its PID by sending a signal to it (default signal for kill is TERM).<\/p>\n<pre>$ kill -p 2300\r\n$ kill -SIGTERM -p 2300\r\n<\/pre>\n<h1 id=\"killall\"><strong>killall Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/how-to-kill-a-process-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">killall command<\/a>\u00a0is used to kill a process by its name.<\/p>\n<pre>$ killall firefox\r\n<\/pre>\n<p>Learn more about kill and killall command in Linux.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/how-to-kill-a-process-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Find and Kill Running Processes in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/how-to-kill-a-process-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">A Guide to Kill, Pkill and Killall Commands to Terminate a Process<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/kill-processes-unresponsive-programs-in-ubuntu\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Kill Processes\/Unresponsive Applications Using \u2018xkill\u2019 Command<\/a><\/li>\n<\/ol>\n<h1 id=\"kmod\"><strong>kmod Command<\/strong><\/h1>\n<p><strong>kmod command<\/strong>\u00a0is used to manage Linux kernel modules. To list all currently loaded modules, type.<\/p>\n<pre>$ kmod list\r\n<\/pre>\n<h1 id=\"last\"><strong>last Command<\/strong><\/h1>\n<p><strong>last command<\/strong>\u00a0display a listing of last logged in users.<\/p>\n<pre>$ last \r\n<\/pre>\n<h1 id=\"ln\"><strong>ln Command<\/strong><\/h1>\n<p><strong>ln command<\/strong>\u00a0is used to create a soft link between files using the\u00a0<code>-s<\/code>\u00a0flag like this.<\/p>\n<pre>$ ln -s \/usr\/bin\/lscpu cpuinfo\r\n<\/pre>\n<h1 id=\"locate\"><strong>locate Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/linux-locate-command-practical-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">locate command<\/a>\u00a0is used to find a file by name. The locate utility works better and faster than it\u2019s\u00a0<strong>find<\/strong>\u00a0counterpart.<\/p>\n<p>The command below will search for a file by its exact name (not *name*):<\/p>\n<pre>$ locate -b '\\domain-list.txt'\r\n<\/pre>\n<h1 id=\"login\"><strong>login Command<\/strong><\/h1>\n<p><strong>login command<\/strong>\u00a0is used to create a new session with the system. You\u2019ll be asked to provide a username and a password to login as below.<\/p>\n<pre>$ sudo login\r\n<\/pre>\n<h1 id=\"ls\"><strong>ls Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/15-basic-ls-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">ls command<\/a>\u00a0is used to list contents of a directory. It works more or less like\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-dir-command-usage-with-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">dir command<\/a>.<\/p>\n<p>The\u00a0<code>-l<\/code>\u00a0option enables long listing format like this.<\/p>\n<pre>$ ls -l file1\r\n<\/pre>\n<p>To know more about ls command, read our guides.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/15-basic-ls-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">15 Basic \u2018ls\u2019 Command Examples in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/linux-ls-command-tricks\/\" target=\"_blank\" rel=\"noopener noreferrer\">7 Quirky \u2018ls\u2019 Command Tricks Every Linux User Should Know<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/sort-ls-output-by-last-modified-date-and-time\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Sort Output of \u2018ls\u2019 Command By Last Modified Date and Time<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/ls-command-interview-questions\/\" target=\"_blank\" rel=\"noopener noreferrer\">15 Interview Questions on Linux \u201cls\u201d Command \u2013 Part 1<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/ls-interview-questions\/\" target=\"_blank\" rel=\"noopener noreferrer\">10 Useful \u2018ls\u2019 Command Interview Questions \u2013 Part 2<\/a><\/li>\n<\/ol>\n<h1 id=\"lshw\"><strong>lshw Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/commands-to-collect-system-and-hardware-information-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">lshw command<\/a>\u00a0is a minimal tool to get detailed information on the hardware configuration of the machine, invoke it with superuser privileges to get a comprehensive information.<\/p>\n<pre>$ sudo lshw  \r\n<\/pre>\n<h1 id=\"lscpu\"><strong>lscpu Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/check-linux-cpu-information\/\" target=\"_blank\" rel=\"noopener noreferrer\">lscpu command<\/a>\u00a0displays system\u2019s CPU architecture information (such as number of CPUs, threads, cores, sockets, and more).<\/p>\n<pre>$ lscpu\r\n<\/pre>\n<h1 id=\"lsof\"><strong>lsof Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/10-lsof-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">lsof command<\/a>\u00a0displays information related to files opened by processes. Files can be of any type, including regular files, directories, block special files, character special files, executing text reference, libraries, and stream\/network files.<\/p>\n<p>To view files opened by a specific user\u2019s processes, type the command below.<\/p>\n<pre>$ lsof -u tecmint\r\n<\/pre>\n<h1 id=\"lsusb\"><strong>lsusb Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/commands-to-collect-system-and-hardware-information-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">lsusb command<\/a>\u00a0shows information about USB buses in the system and the devices connected to them like this.<\/p>\n<pre>$ lsusb \r\n<\/pre>\n<h1 id=\"man\"><strong>man Command<\/strong><\/h1>\n<p><strong>man command<\/strong>\u00a0is used to view the on-line reference manual pages for commands\/programs like so.<\/p>\n<pre>$ man du\r\n$ man df\r\n<\/pre>\n<h1 id=\"md5sum\">md5sum Command<\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/check-verify-md5sum-packages-files-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">md5sum command<\/a>\u00a0is used to\u00a0<a href=\"https:\/\/www.tecmint.com\/generate-verify-check-files-md5-checksum-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">compute and print the MD5 message digest of a file<\/a>. If run without arguments, debsums checks every file on your system against the stock md5sum files:<\/p>\n<pre>$ sudo debsums\r\n<\/pre>\n<h1 id=\"mkdir\"><strong>mkdir Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/mkdir-tar-and-kill-commands-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">mkdir command<\/a>\u00a0is used to create single or more directories, if they do not already exist (this can be overridden with the\u00a0<code>-p<\/code>\u00a0option).<\/p>\n<pre>$ mkdir tecmint-files\r\nOR \r\n$ mkdir -p tecmint-files\r\n<\/pre>\n<h1 id=\"more\"><strong>more Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/linux-more-command-and-less-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">more command<\/a>\u00a0enables you to view through relatively lengthy text files one screenful at a time.<\/p>\n<pre>$ more file.txt\r\n<\/pre>\n<p>Check difference between\u00a0<strong>more<\/strong>\u00a0and\u00a0<strong>less<\/strong>\u00a0command and\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-more-command-and-less-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">Learn Why \u2018less\u2019 is Faster Than \u2018more\u2019 Command<\/a><\/p>\n<h1 id=\"mv\"><strong>mv Command<\/strong><\/h1>\n<p><strong>mv command<\/strong>\u00a0is used to\u00a0<a href=\"https:\/\/www.tecmint.com\/rename-multiple-files-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">rename files or directories<\/a>. It also moves a file or directory to another location in the directory structure.<\/p>\n<pre>$ mv test.sh sysinfo.sh \r\n<\/pre>\n<h1 id=\"nano\"><strong>nano Command<\/strong><\/h1>\n<p><strong>nano<\/strong>\u00a0is a popular small, free and friendly\u00a0<a href=\"https:\/\/www.tecmint.com\/best-open-source-linux-text-editors\/\" target=\"_blank\" rel=\"noopener noreferrer\">text editor for Linux<\/a>; a clone of\u00a0<strong>Pico<\/strong>, the default editor included in the non-free Pine package.<\/p>\n<p>To open a file using nano, type:<\/p>\n<pre>$ nano file.txt\r\n<\/pre>\n<h1 id=\"nc\/netcat\"><strong>nc\/netcat Command<\/strong><\/h1>\n<p><strong>nc (or netcat)<\/strong>\u00a0is used for performing any operation relating to TCP, UDP, or UNIX-domain sockets. It can handle both IPv4 and IPv6 for opening TCP connections, sending UDP packets, listening on arbitrary TCP and UDP ports,\u00a0<a href=\"https:\/\/www.tecmint.com\/check-remote-port-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">performing port scanning<\/a>.<\/p>\n<p>The command below will help us see if the port 22 is open on the host 192.168.56.5.<\/p>\n<pre>$ nc -zv 192.168.1.5 22\r\n<\/pre>\n<p>Learn more examples and usage on\u00a0<strong>nc command<\/strong>.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/check-remote-port-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Check Remote Ports are Reachable Using \u2018nc\u2019 Command<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/transfer-files-between-two-linux-machines\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Transfer Files Between Computers Using \u2018nc\u2019 Command<\/a><\/li>\n<\/ol>\n<h1 id=\"netstat\"><strong>netstat Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/20-netstat-commands-for-linux-network-management\/\" target=\"_blank\" rel=\"noopener noreferrer\">netstat command<\/a>\u00a0displays useful information concerning the Linux networking subsystem (network connections, routing tables, interface statistics, masquerade connections, and multicast memberships).<\/p>\n<p>This command will display all open ports on the local system:<\/p>\n<pre>$ netstat -a | more\r\n<\/pre>\n<h1 id=\"nice\"><strong>nice Command<\/strong><\/h1>\n<p><strong>nice command<\/strong>\u00a0is used to show or change the nice value of a running program. It runs specified command with an adjusted niceness. When run without any command specified, it prints the current niceness.<\/p>\n<p>The following command starts the process \u201c<a href=\"https:\/\/www.tecmint.com\/18-tar-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">tar command<\/a>\u201d setting the \u201cnice\u201d value to 12.<\/p>\n<pre>$ nice -12 tar -czf backup.tar.bz2 \/home\/*\r\n<\/pre>\n<h1 id=\"nmap\"><strong>nmap Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/nmap-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">nmap<\/a>\u00a0is a popular and powerful open source tool for network scanning and security auditing. It was intended to quickly scan large networks, but it also works fine against single hosts.<\/p>\n<p>The command below will probe open ports on all live hosts on the specified network.<\/p>\n<pre>$ nmap -sV 192.168.56.0\/24\r\n<\/pre>\n<h1 id=\"nproc\"><strong>nproc Command<\/strong><\/h1>\n<p><strong>nproc command<\/strong>\u00a0shows the number of processing units present to the current process. It\u2019s output may be less than the number of online processors on a system.<\/p>\n<pre>$ nproc  \r\n<\/pre>\n<h1 id=\"openssl\"><strong>openssl Command<\/strong><\/h1>\n<p>The\u00a0<strong>openssl<\/strong>\u00a0is a command line tool for using the different cryptography operations of OpenSSL\u2019s crypto library from the shell. The command below will create an archive of all files in the current directory and\u00a0<a href=\"https:\/\/www.tecmint.com\/encrypt-decrypt-files-tar-openssl-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">encrypt the contents of the archive<\/a>\u00a0file:<\/p>\n<pre>$ tar -czf - * | openssl enc -e -aes256 -out backup.tar.gz\r\n<\/pre>\n<h1 id=\"passwd\"><strong>passwd Command<\/strong><\/h1>\n<p><strong>passwd command<\/strong>\u00a0is used to create\/update passwords for user accounts, it can also change the account or associated password validity period. Note that normal system users may only change the password of their own account, while root may modify the password for any account.<\/p>\n<pre>$ passwd tecmint\r\n<\/pre>\n<h1 id=\"pidof\"><strong>pidof Command<\/strong><\/h1>\n<p><strong>pidof<\/strong>\u00a0displays the\u00a0<a href=\"https:\/\/www.tecmint.com\/find-process-name-pid-number-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">process ID of a running program<\/a>\/command.<\/p>\n<pre>$ pidof init\r\n$ pidof cinnamon\r\n<\/pre>\n<h1 id=\"ping\"><strong>ping Command<\/strong><\/h1>\n<p><strong>ping command<\/strong>\u00a0is used to determine connectivity between hosts on a network (or the Internet):<\/p>\n<pre>$ ping google.com\r\n<\/pre>\n<h1 id=\"ps\"><strong>ps Command<\/strong><\/h1>\n<p>ps shows useful information about\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-process-management\/\" target=\"_blank\" rel=\"noopener noreferrer\">active processes running on a system<\/a>. The example below shows the\u00a0<a href=\"https:\/\/www.tecmint.com\/find-linux-processes-memory-ram-cpu-usage\/\" target=\"_blank\" rel=\"noopener noreferrer\">top running processes by highest memory and CPU usage<\/a>.<\/p>\n<pre># ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head\r\n<\/pre>\n<h1 id=\"pstree\"><strong>pstree Command<\/strong><\/h1>\n<p><strong>pstree<\/strong>\u00a0displays running processes as a tree which is rooted at either PID or init if PID is omitted.<\/p>\n<pre>$ pstree\r\n<\/pre>\n<h1 id=\"pwd\"><strong>pwd Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/pwd-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">pwd command<\/a>\u00a0displays the name of current\/working directory as below.<\/p>\n<pre>$ pwd\r\n<\/pre>\n<h1 id=\"rdiff-backup\"><strong>rdiff-backup Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/rdiff-backup-remote-incremental-backup-for-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">rdiff-backup<\/a>\u00a0is a powerful local\/remote incremental backup script written in Python. It works on any POSIX operating system such as Linux, Mac OS X.<\/p>\n<p>Note that for remote backups, you must install the same version of rdiff-backup on both the local and remote machines. Below is an example of a local backup command:<\/p>\n<pre>$ sudo rdiff-backup \/etc \/media\/tecmint\/Backup\/server_etc.backup\r\n<\/pre>\n<h1 id=\"reboot\"><strong>reboot Command<\/strong><\/h1>\n<p><strong>reboot command<\/strong>\u00a0may be used to\u00a0<a href=\"https:\/\/www.tecmint.com\/shutdown-poweroff-halt-and-reboot-commands-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">halt, power-off or reboot a system<\/a>\u00a0as follows.<\/p>\n<pre>$ reboot\r\n<\/pre>\n<h1 id=\"rename\"><strong>rename Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/rename-multiple-files-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">rename command<\/a>\u00a0is used to rename many files at once. If you\u2019ve a collection of files with \u201c<strong>.html<\/strong>\u201d extension and you want to rename all of them with \u201c<strong>.php<\/strong>\u201d extension, you can type the command below.<\/p>\n<pre>$ rename 's\/\\.html$\/\\.php\/' *.html\r\n<\/pre>\n<h1 id=\"rm\"><strong>rm command<\/strong><\/h1>\n<p><strong>rm command<\/strong>\u00a0is used to remove files or directories as shown below.<\/p>\n<pre>$ rm file1\r\n$ rm -rf my-files\r\n<\/pre>\n<h1 id=\"rmdir\"><strong>rmdir Command<\/strong><\/h1>\n<p><strong>rmdir command<\/strong>\u00a0helps to delete\/remove empty directories as follows.<\/p>\n<pre>$ rmdir \/backup\/all\r\n<\/pre>\n<h1 id=\"scp\"><strong>scp Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/scp-commands-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">scp command<\/a>\u00a0enables you to securely copy files between hosts on a network, for example.<\/p>\n<pre>$ scp ~\/names.txt root@192.168.56.10:\/root\/names.txt\r\n<\/pre>\n<h1 id=\"shutdown\"><strong>shutdown Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/shutdown-poweroff-halt-and-reboot-commands-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">shutdown command<\/a>\u00a0schedules a time for the system to be powered down. It may be used to halt, power-off or reboot the machine like this.<\/p>\n<pre>$ shutdown --poweroff\r\n<\/pre>\n<p>Learn how to show a\u00a0<a href=\"https:\/\/www.tecmint.com\/show-linux-server-shutdown-message\/\" target=\"_blank\" rel=\"noopener noreferrer\">Custom Message to Users Before Linux Server Shutdown<\/a>.<\/p>\n<h1 id=\"sleep\"><strong>sleep Command<\/strong><\/h1>\n<p><strong>sleep command<\/strong>\u00a0is used to delay or pause (specifically execution of a command) for a specified amount of time.<\/p>\n<pre>$ check.sh; sleep 5; sudo apt update\r\n<\/pre>\n<h1 id=\"sort\"><strong>sort Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/sort-command-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">sort command<\/a>\u00a0is used to sort lines of text in the specified file(s) or from stdin as shown below<\/p>\n<pre>$ cat words.txt\r\n<\/pre>\n<p>Learn more examples of sort command in Linux.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/linux-sort-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">7 Interesting Linux \u2018sort\u2019 Command Examples<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/sort-ls-output-by-last-modified-date-and-time\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Sort Output of \u2018ls\u2019 Command By Last Modified Date and Time<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/find-and-sort-files-modification-date-and-time-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Find and Sort Files Based on Modification Date and Time<\/a><\/li>\n<\/ol>\n<h1 id=\"split\"><strong>split Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/split-large-tar-into-multiple-files-of-certain-size\/\" target=\"_blank\" rel=\"noopener noreferrer\">split<\/a>\u00a0as the name suggests, is used to split a large file into small parts.<\/p>\n<pre>$ tar -cvjf backup.tar.bz2 \/home\/tecmint\/Documents\/* \r\n<\/pre>\n<h1 id=\"ssh\"><strong>ssh Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/install-openssh-server-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">ssh (SSH client)<\/a>\u00a0is an application for remotely accessing and running commands on a remote machine. It is designed to offer a secure encrypted communications between two untrusted hosts over an insecure network such as the Internet.<\/p>\n<pre>$ ssh tecmint@192.168.56.10\r\n<\/pre>\n<p>Learn more about ssh command and how to use it on Linux.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/5-best-practices-to-secure-and-protect-ssh-server\/\" target=\"_blank\" rel=\"noopener noreferrer\">5 Best Practices to Secure and Protect SSH Server<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/ssh-passwordless-login-with-putty\/\" target=\"_blank\" rel=\"noopener noreferrer\">Configure \u201cNo Password SSH Keys Authentication\u201d with PuTTY on Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps\/\" target=\"_blank\" rel=\"noopener noreferrer\">SSH Passwordless Login Using SSH Keygen in 5 Easy Steps<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/restrict-ssh-user-to-directory-using-chrooted-jail\/\" target=\"_blank\" rel=\"noopener noreferrer\">Restrict SSH User Access to Certain Directory Using Chrooted Jail<\/a><\/li>\n<\/ol>\n<h1 id=\"stat\"><strong>stat Command<\/strong><\/h1>\n<p>stat is used to show a file or file system status like this (<code>-f<\/code>\u00a0is used to specify a filesystem).<\/p>\n<pre>$ stat file1\r\n<\/pre>\n<h1 id=\"su\">su Command<\/h1>\n<p><strong>su command<\/strong>\u00a0is used to switch to another user ID or become root during a login session. Note that when\u00a0<strong>su<\/strong>\u00a0is invoked without a username, it defaults to becoming root.<\/p>\n<pre>$ su \r\n$ su tecmint\r\n<\/pre>\n<h1 id=\"sudo\"><strong>sudo Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/sudoers-configurations-for-setting-sudo-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">sudo command<\/a>\u00a0allows a permitted system user to run a command as root or another user, as defined by the security policy such as sudoers.<\/p>\n<p>In this case, the real (not effective) user ID of the user running\u00a0<strong>sudo<\/strong>\u00a0is used to determine the user name with which to query the security policy.<\/p>\n<pre>$ sudo apt update\r\n$ sudo useradd tecmint\r\n$ sudo passwd tecmint\r\n<\/pre>\n<p>Learn more about sudo command and how to use it on Linux.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/sudoers-configurations-for-setting-sudo-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">10 Useful Sudoers Configurations for Setting \u2018sudo\u2019 in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/run-sudo-command-without-password-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Run \u2018sudo\u2019 Command Without Entering a Password in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/set-sudo-password-timeout-session-longer-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Keep \u2018sudo\u2019 Password Timeout Session Longer in Linux<\/a><\/li>\n<\/ol>\n<h1 id=\"sum\"><strong>sum Command<\/strong><\/h1>\n<p><strong>sum command<\/strong>\u00a0is used to show the checksum and block counts for each each specified file on the command line.<\/p>\n<pre>$ sum output file.txt \r\n<\/pre>\n<h1 id=\"tac\"><strong>tac Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/learn-linux-cat-command-and-tac-command\/\" target=\"_blank\" rel=\"noopener noreferrer\">tac command<\/a>\u00a0concatenates and displays files in reverse. It simply prints each file to standard output, showing last line first.<\/p>\n<pre>$tac file.txt\r\n<\/pre>\n<h1 id=\"tail\"><strong>tail Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/view-contents-of-file-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">tail command<\/a>\u00a0is used to display the last lines (10 lines by default) of each file to standard output.<\/p>\n<p>If there more than one file, precede each with a header giving the file name. Use it as follow (specify more lines to display using\u00a0<code>-n<\/code>\u00a0option).<\/p>\n<pre>$ tail long-file\r\nOR\r\n$ tail -n 15 long-file\r\n<\/pre>\n<h1 id=\"talk\"><strong>talk Command<\/strong><\/h1>\n<p><strong>talk command<\/strong>\u00a0is used to talk to another system\/network user. To talk to a user on the same machine, use their login name, however, to talk to a user on another machine use \u2018user@host\u2019.<\/p>\n<pre>$ talk person [ttyname]\r\nOR\r\n$ talk\u2018user@host\u2019 [ttyname]\r\n<\/pre>\n<h1 id=\"tar\"><strong>tar Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/18-tar-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">tar command<\/a>\u00a0is a most powerful utility for archiving files in Linux.<\/p>\n<pre>$ tar -czf home.tar.gz .\r\n<\/pre>\n<p>Learn more about tar command and its usage on Linux.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/18-tar-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">18 Tar Command Examples in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/split-large-tar-into-multiple-files-of-certain-size\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Split Large \u2018tar\u2019 Archive into Multiple Files of Certain Size<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/extract-tar-files-to-specific-or-different-directory-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Extract Tar Files to Specific or Different Directory in Linux<\/a><\/li>\n<\/ol>\n<h1 id=\"tee\"><strong>tee Command<\/strong><\/h1>\n<p><strong>tee command<\/strong>\u00a0is used to read from standard input and prints to standard output and files as shown below.<\/p>\n<pre>$ echo \"Testing how tee command works\" | tee file1 \r\n<\/pre>\n<h1 id=\"time\"><strong>time Command<\/strong><\/h1>\n<p><strong>time command<\/strong>\u00a0runs programs and summarizes system resource usage.<\/p>\n<pre>$ time wc \/etc\/hosts\r\n<\/pre>\n<h1 id=\"top\"><strong>top Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/12-top-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">top program<\/a>\u00a0displays all processes on a Linux system in regards to memory and CPU usage and provides a dynamic real-time view of a running system.<\/p>\n<pre>$ top\r\n<\/pre>\n<h1 id=\"touch\"><strong>touch Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/8-pratical-examples-of-linux-touch-command\/\" target=\"_blank\" rel=\"noopener noreferrer\">touch command<\/a>\u00a0changes file timestamps, it can also be used to create a file as follows.<\/p>\n<pre>$ touch file.txt\r\n<\/pre>\n<h1 id=\"tr\"><strong>tr Command<\/strong><\/h1>\n<p><strong>tr command<\/strong>\u00a0is a useful utility used to translate (change) or delete characters from stdin, and write the result to stdout or send to a file as follows.<\/p>\n<pre>$ cat domain-list.txt | tr [:lower:] [:upper:]\r\n<\/pre>\n<h1 id=\"uname\"><strong>uname Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/find-linux-kernel-version-distribution-name-version-number\/\" target=\"_blank\" rel=\"noopener noreferrer\">uname command<\/a>\u00a0displays system information such as operating system, network node hostname kernel name, version and release etc.<\/p>\n<p>Use the\u00a0<code>-a<\/code>\u00a0option to show all the system information:<\/p>\n<pre>$ uname \r\n<\/pre>\n<h1 id=\"uniq\"><strong>uniq Command<\/strong><\/h1>\n<p><strong>uniq command<\/strong>\u00a0displays or omits repeated lines from input (or standard input). To indicate the number of occurrences of a line, use the\u00a0<code>-c<\/code>\u00a0option.<\/p>\n<pre>$ cat domain-list.txt\r\n<\/pre>\n<h1 id=\"uptime\"><strong>uptime Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/find-linux-uptime-shutdown-and-reboot-time-with-tuptime\/\" target=\"_blank\" rel=\"noopener noreferrer\">uptime command<\/a>\u00a0shows how long the system has been running, number of logged on users and the system load averages as follows.<\/p>\n<pre>$ uptime\r\n<\/pre>\n<h1 id=\"users\"><strong>users Command<\/strong><\/h1>\n<p><strong>users command<\/strong>\u00a0shows the user names of users currently logged in to the current host like this.<\/p>\n<pre>$ users\r\n<\/pre>\n<h1 id=\"vim\/vi\"><strong>vim\/vi Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/reasons-to-learn-vi-vim-editor-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">vim (Vi Improved) popular text editor<\/a>\u00a0on Unix-like operating systems. It can be used to edit all kinds of plain text and program files.<\/p>\n<pre>$ vim file\r\n<\/pre>\n<p>Learn how to use vi\/vim editor in Linux along with some tips and tricks.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/reasons-to-learn-vi-vim-editor-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">10 Reasons Why You Should Use Vi\/Vim Editor in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/vi-editor-usage\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Install and Use Vi\/Vim Editor in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/python-mode-a-vim-editor-plugin\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Save a File in Vim Editor in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/exit-file-in-vi-vim-editor-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Exit a File in Vim Editor in Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/learn-vi-and-vim-editor-tips-and-tricks-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">Learn Useful \u2018Vi\/Vim\u2019 Editor Tips and Tricks to Enhance Your Skills<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/how-to-use-vi-and-vim-editor-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">8 Interesting \u2018Vi\/Vim\u2019 Editor Tips and Tricks for Every Linux Administrator<\/a><\/li>\n<\/ol>\n<h1 id=\"w\"><strong>w Command<\/strong><\/h1>\n<p><strong>w command<\/strong>\u00a0displays system uptime, load averages and information about the users currently on the machine, and what they are doing (their processes) like this.<\/p>\n<pre>$ w\r\n<\/pre>\n<h1 id=\"wall\"><strong>wall Command<\/strong><\/h1>\n<p><strong>wall command<\/strong>\u00a0is used to send\/display a message to all users on the system as follows.<\/p>\n<pre>$ wall \u201cThis is TecMint \u2013 Linux How Tos\u201d\r\n<\/pre>\n<h1 id=\"watch\"><strong>watch Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/run-repeat-linux-command-every-x-seconds\/\" target=\"_blank\" rel=\"noopener noreferrer\">watch command<\/a>\u00a0runs a program repeatedly while displaying its output on fullscreen. It can also be used to watch changes to a file\/directory. The example below shows how to watch the contents of a directory change.<\/p>\n<pre>$ watch -d ls -l\r\n<\/pre>\n<h1 id=\"wc\"><strong>wc Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/wc-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">wc command<\/a>\u00a0is used to display newline, word, and byte counts for each file specified, and a total for many files.<\/p>\n<pre>$ wc filename\r\n<\/pre>\n<h1 id=\"wget\"><strong>wget Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/10-wget-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">wget command<\/a>\u00a0is a simple utility used to download files from the Web in a non-interactive (can work in the background) way.<\/p>\n<pre>$ wget -c http:\/\/ftp.gnu.org\/gnu\/wget\/wget-1.5.3.tar.gz\r\n<\/pre>\n<h1 id=\"whatis\"><strong>whatis Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/find-linux-command-description-and-location\/\" target=\"_blank\" rel=\"noopener noreferrer\">whatis command<\/a>\u00a0searches and shows a short or one-line manual page descriptions of the provided command name(s) as follows.<\/p>\n<pre>$ whatis wget\r\n<\/pre>\n<h1 id=\"which\"><strong>which Command<\/strong><\/h1>\n<p><strong>which command<\/strong>\u00a0displays the absolute path (pathnames) of the files (or possibly links) which would be executed in the current environment.<\/p>\n<pre>$ which who\r\n<\/pre>\n<h1 id=\"who\"><strong>who Command<\/strong><\/h1>\n<p><strong>who command<\/strong>\u00a0shows information about users who are currently logged in like this.<\/p>\n<pre>$ who\r\n<\/pre>\n<h1 id=\"whereis\"><strong>whereis Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/find-linux-command-description-and-location\/\" target=\"_blank\" rel=\"noopener noreferrer\">whereis command<\/a>\u00a0helps us locate the binary, source and manual files for commands.<\/p>\n<pre>$ whereis cat\r\n<\/pre>\n<h1 id=\"xargs\"><strong>xargs Command<\/strong><\/h1>\n<p><strong>xargs command<\/strong>\u00a0is a useful utility for reading items from the standard input, delimited by blanks (protected with double or single quotes or a backslash) or newlines, and executes the entered command.<\/p>\n<p>The example below show xargs being used to\u00a0<a href=\"https:\/\/www.tecmint.com\/copy-file-to-multiple-directories-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">copy a file to multiple directories in Linux<\/a>.<\/p>\n<pre>$ echo \/home\/aaronkilik\/test\/ \/home\/aaronkilik\/tmp | xargs -n 1 cp -v \/home\/aaronkilik\/bin\/sys_info.sh\r\n<\/pre>\n<h1 id=\"yes\"><strong>yes Command<\/strong><\/h1>\n<p><strong>yes command<\/strong>\u00a0is used to display a string repeatedly until when terminated or killed using [<code>Ctrl + C<\/code>] as follows.<\/p>\n<pre>$ yes \"This is TecMint - Linux HowTos\"\r\n<\/pre>\n<h1 id=\"youtube-dl\"><strong>youtube-dl Command<\/strong><\/h1>\n<p><a href=\"https:\/\/www.tecmint.com\/install-youtube-dl-command-line-video-download-tool\/\" target=\"_blank\" rel=\"noopener noreferrer\">youtube-dl<\/a>\u00a0is a lightweight command-line program to download videos and also\u00a0<a href=\"https:\/\/www.tecmint.com\/download-mp3-track-from-youtube-video-using-youtube-dl\/\" target=\"_blank\" rel=\"noopener noreferrer\">extract MP3 tracks from YouTube.com<\/a>\u00a0and a few more sites.<\/p>\n<p>The command below will list available formats for the video in the provided link.<\/p>\n<pre>$ youtube-dl --list-formats https:\/\/www.youtube.com\/watch?v=iR\r\n<\/pre>\n<h1 id=\"zcmp\/zdiff\"><strong>zcmp\/zdiff Command<\/strong><\/h1>\n<p><strong>zcmp<\/strong>\u00a0and\u00a0<strong>zdiff<\/strong>\u00a0minimal utilities used to compare compressed files as shown in the examples below.<\/p>\n<pre>$ zcmp domain-list.txt.zip basic_passwords.txt.zip\r\n$ zdiff domain-list.txt.zip basic_passwords.txt.zip \r\n<\/pre>\n<h1 id=\"zip\"><strong>zip Command<\/strong><\/h1>\n<p><strong>zip<\/strong>\u00a0is a simple and easy-to-use utility used to package and compress (archive) files.<\/p>\n<pre>$ tar cf - . | zip | dd of=\/dev\/nrst0 obs=16k\r\n$ zip inarchive.zip foo.c bar.c --out outarchive.zip\r\n$ tar cf - .| zip backup -\r\n<\/pre>\n<h1 id=\"zz\"><strong>zz Command<\/strong><\/h1>\n<p><strong>zz command<\/strong>\u00a0is an alias of the\u00a0<a href=\"https:\/\/www.tecmint.com\/fasd-quick-access-to-linux-files-and-directories\/\" target=\"_blank\" rel=\"noopener noreferrer\">fasd commandline tool\u00a0<\/a>that offers quick access to files and directories in Linux. It is used to quickly and interactively\u00a0<a href=\"https:\/\/www.tecmint.com\/bd-quickly-go-back-to-a-linux-parent-directory\/\" target=\"_blank\" rel=\"noopener noreferrer\">cd into a previously accessed directory<\/a>\u00a0by selecting the directory number from the first field as follows.<\/p>\n<pre>$ zz\r\n<\/pre>\n<p>That\u2019s it for now! As we mentioned before, there are a countless number of commands in Linux. The list is possibly longer than we can offer.<\/p>\n<p><a style=\"font-size: 1rem;\" href=\"https:\/\/www.tecmint.com\/linux-commands-cheat-sheet\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>adduser\/addgroup agetty alias anacron apropos apt apt-get aptitude arch arp at atq atrm awk batch basename bc bg bzip cal cat chgrp chmod chown cksum clear cmp comm cp date dd df diff dir dmidecode du echo eject env exit expr factor find free grep groups gzip gunzip head history hostname hostnamectl hwclock hwinfo id &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/a-z-linux-commands-overview-with-examples\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A \u2013 Z LINUX COMMANDS (136) \u2013 OVERVIEW WITH EXAMPLES&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11326","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=11326"}],"version-history":[{"count":5,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11326\/revisions"}],"predecessor-version":[{"id":11336,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11326\/revisions\/11336"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=11326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=11326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=11326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}