{"id":7766,"date":"2021-08-11T09:56:12","date_gmt":"2021-08-11T09:56:12","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=7766"},"modified":"2021-08-11T09:57:41","modified_gmt":"2021-08-11T09:57:41","slug":"top-51-linux-commands-for-daily-use","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/","title":{"rendered":"Top 51 Linux commands for daily use"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">These are the top 51 Linux commands for daily use <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1.\u00a0<code>ip<\/code>\u00a0\u2013 <\/strong>from Iproute2, a collection of utilities for controlling TCP\/IP networking and traffic control in Linux.<br><strong>2.\u00a0<code>ls<\/code>\u00a0\u2013 <\/strong>list directory contents.<br><strong>3.\u00a0<code>df<\/code>\u00a0\u2013<\/strong> display disk space usage.<br><strong>4.\u00a0<code>du<\/code>\u00a0\u2013 <\/strong>estimate file space usage.<br><strong>5.\u00a0<code>free<\/code>\u00a0\u2013<\/strong> display memory usage.<br><strong>6.\u00a0<code>scp<\/code>\u00a0\u2013 <\/strong>securely Copy Files Using SCP, with examples.<br><strong>7.\u00a0<code>find<\/code>\u00a0\u2013<\/strong> locates files based on some user-specified criteria.<br><strong>8.\u00a0<code>ncdu<\/code>\u00a0\u2013 <\/strong>a disk utility for Unix systems.<br><strong>9.\u00a0<code>pstree<\/code>\u00a0\u2013<\/strong> display a tree of processes.<br><strong>10.\u00a0<code>last<\/code>\u00a0\u2013<\/strong> show a listing of last logged-in users.<br><strong>11.\u00a0<code>w<\/code>\u00a0\u2013<\/strong> show a list of currently logged-in user sessions.<br><strong>12.\u00a0<code>grep<\/code>\u00a0\u2013<\/strong> Search a file for a pattern of characters, then display all matching lines.                                                  <strong>13.\u00a0<code>uptime<\/code>\u00a0\u2013<\/strong> shows system uptime and load average.<br><strong>14.\u00a0<code>top<\/code>\u00a0\u2013 <\/strong>shows an overall system view.<br><strong>15.\u00a0<code>vmstat<\/code>\u00a0\u2013 <\/strong>shows\u00a0system memory, processes, interrupts, paging, block I\/O, and CPU info.<br><strong>16.\u00a0<code>htop<\/code>\u00a0\u2013<\/strong> interactive process viewer and manager.<br><strong>17.\u00a0<code>dstat<\/code>\u00a0\u2013<\/strong> view processes, memory, paging, I\/O, CPU, etc., in real-time. All-in-one for vmstat, iostat, netstat, and ifstat.<br><strong>18.\u00a0<code>iftop<\/code>\u00a0\u2013<\/strong> network traffic viewer.<code><br><\/code><strong>19.\u00a0<code>nethogs<\/code>\u00a0\u2013<\/strong> network traffic analyzer.<br><strong>20.\u00a0<code>iotop<\/code>\u00a0\u2013 <\/strong>interactive I\/O viewer. Get an overview of storage r\/w activity.<br><strong>21.\u00a0<code>iostat<\/code>\u00a0\u2013 <\/strong>for storage I\/O statistics.<br><strong>22.\u00a0<code>netstat<\/code>\u00a0\u2013<\/strong> for network statistics.<br><strong>23.\u00a0<code>ss<\/code>\u00a0\u2013<\/strong> utility to investigate sockets.<br><strong>24.\u00a0<code>atop<\/code>\u00a0\u2013\u00a0<\/strong>For Linux server performance analysis.<br><strong>25.\u00a0Glances\u00a0and\u00a0nmon\u00a0\u2013\u00a0<\/strong>htop and top Alternatives:<br><strong>26.\u00a0<code>ssh<\/code>\u00a0\u2013<\/strong> secure command-line access to remote Linux systems.<br><strong>27.\u00a0<code>sudo<\/code>\u00a0\u2013<\/strong> execute commands with administrative privilege.<br><strong>28.\u00a0<code>cd<\/code>\u00a0\u2013<\/strong> directory navigation.<br><strong>29.\u00a0<code>pwd<\/code>\u00a0\u2013<\/strong> shows your current directory location.<br><strong>30.\u00a0<code>cp<\/code>\u00a0\u2013<\/strong> copying files and folders.<br><strong>31.\u00a0<code>mv<\/code>\u00a0\u2013<\/strong> moving files and folders.<br><strong>32.\u00a0<code>rm<\/code>\u00a0\u2013 <\/strong>removing files and folders.<br><strong>33.\u00a0<code>mkdir<\/code>\u00a0\u2013<\/strong> create or make new directories.<br><strong>34.\u00a0<code>touch<\/code>\u00a0\u2013<\/strong> used to update the access date and\/or modification date of a computer file or directory.<br><strong>35.\u00a0<code>man<\/code>\u00a0\u2013<\/strong> for reading system reference manuals.<br><strong>36.\u00a0<code>apropos<\/code>\u00a0\u2013<\/strong> Search man page names and descriptions.                                                                                      <strong>37.\u00a0<code>rsync<\/code>\u00a0\u2013 <\/strong>remote file transfers and syncing.<br><strong>38.\u00a0<code>tar<\/code>\u00a0\u2013\u00a0<\/strong>an archiving utility.<br><strong>39.\u00a0<code>gzip<\/code>\u00a0\u2013<\/strong> file compression and decompression.<br><strong>40.\u00a0<code>b2zip<\/code>\u00a0\u2013<\/strong> similar to gzip. It uses a different compression algorithm.<br><strong>41.\u00a0<code>zip<\/code>\u00a0\u2013<\/strong> for packaging and compressing (to archive) files.<br><strong>42.\u00a0<code>locate<\/code>\u00a0\u2013 <\/strong>search files in Linux.<br><strong>43.\u00a0<code>ps<\/code>\u00a0\u2013<\/strong> information about the currently running processes.<br><strong>44.<\/strong> Making use of Bash scripts. Example:\u00a0<code>.\/bashscript.sh<\/code><br><strong>45.\u00a0<code>cron<\/code>\u00a0\u2013<\/strong> set up scheduled tasks to run.<br><strong>46.\u00a0<code>nmcli<\/code>\u00a0\u2013 <\/strong>network management.<br><strong>47.\u00a0<code>ping<\/code>\u00a0\u2013<\/strong> send ICMP ECHO_REQUEST to network hosts.<br><strong>48.\u00a0<code>traceroute<\/code>\u00a0\u2013 <\/strong>check the route packets take to a specified host.<br><strong>49.\u00a0<code>mtr<\/code>\u00a0\u2013<\/strong> network diagnostic tool.<br><strong>50.\u00a0<code>nslookup<\/code>\u00a0\u2013<\/strong> query Internet name servers (NS) interactively.<br><strong>51.\u00a0<code>host<\/code>\u00a0\u2013 <\/strong>perform DNS lookups in Linux.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>These are the top 51 Linux commands for daily use 1.\u00a0ip\u00a0\u2013 from Iproute2, a collection of utilities for controlling TCP\/IP [&hellip;]<\/p>\n","protected":false},"author":34,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[4957],"tags":[460,6227,6225,6226],"class_list":["post-7766","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux","tag-linux-commands-for-daily-use","tag-top-50-linux-commands-for-daily-use","tag-top51-linux-commands-for-daily-use"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Top 51 Linux commands for daily use - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Top 51 Linux commands for daily use - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"These are the top 51 Linux commands for daily use 1.\u00a0ip\u00a0\u2013 from Iproute2, a collection of utilities for controlling TCP\/IP [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-11T09:56:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-11T09:57:41+00:00\" \/>\n<meta name=\"author\" content=\"vikashdev k\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"vikashdev k\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-51-linux-commands-for-daily-use\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-51-linux-commands-for-daily-use\\\/\"},\"author\":{\"name\":\"vikashdev k\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ec4d1004b3acffc7df65899e880c7515\"},\"headline\":\"Top 51 Linux commands for daily use\",\"datePublished\":\"2021-08-11T09:56:12+00:00\",\"dateModified\":\"2021-08-11T09:57:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-51-linux-commands-for-daily-use\\\/\"},\"wordCount\":330,\"commentCount\":0,\"keywords\":[\"Linux\",\"Linux commands for daily use\",\"top 50 linux commands for daily use\",\"top51 linux commands for daily use\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-51-linux-commands-for-daily-use\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-51-linux-commands-for-daily-use\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-51-linux-commands-for-daily-use\\\/\",\"name\":\"Top 51 Linux commands for daily use - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2021-08-11T09:56:12+00:00\",\"dateModified\":\"2021-08-11T09:57:41+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ec4d1004b3acffc7df65899e880c7515\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-51-linux-commands-for-daily-use\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-51-linux-commands-for-daily-use\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-51-linux-commands-for-daily-use\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Top 51 Linux commands for daily use\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ec4d1004b3acffc7df65899e880c7515\",\"name\":\"vikashdev k\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g\",\"caption\":\"vikashdev k\"},\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/vikashdev\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Top 51 Linux commands for daily use - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/","og_locale":"en_US","og_type":"article","og_title":"Top 51 Linux commands for daily use - scmGalaxy","og_description":"These are the top 51 Linux commands for daily use 1.\u00a0ip\u00a0\u2013 from Iproute2, a collection of utilities for controlling TCP\/IP [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/","og_site_name":"scmGalaxy","article_published_time":"2021-08-11T09:56:12+00:00","article_modified_time":"2021-08-11T09:57:41+00:00","author":"vikashdev k","twitter_card":"summary_large_image","twitter_misc":{"Written by":"vikashdev k","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/"},"author":{"name":"vikashdev k","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/ec4d1004b3acffc7df65899e880c7515"},"headline":"Top 51 Linux commands for daily use","datePublished":"2021-08-11T09:56:12+00:00","dateModified":"2021-08-11T09:57:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/"},"wordCount":330,"commentCount":0,"keywords":["Linux","Linux commands for daily use","top 50 linux commands for daily use","top51 linux commands for daily use"],"articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/","name":"Top 51 Linux commands for daily use - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2021-08-11T09:56:12+00:00","dateModified":"2021-08-11T09:57:41+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/ec4d1004b3acffc7df65899e880c7515"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-51-linux-commands-for-daily-use\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Top 51 Linux commands for daily use"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/ec4d1004b3acffc7df65899e880c7515","name":"vikashdev k","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g","caption":"vikashdev k"},"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/vikashdev\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/7766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=7766"}],"version-history":[{"count":1,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/7766\/revisions"}],"predecessor-version":[{"id":7769,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/7766\/revisions\/7769"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=7766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=7766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=7766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}