{"id":187,"date":"2015-04-27T13:25:42","date_gmt":"2015-04-27T13:25:42","guid":{"rendered":"http:\/\/betakb.veeble.org\/?p=187"},"modified":"2025-04-02T16:29:28","modified_gmt":"2025-04-02T10:59:28","slug":"linux-commands-gist","status":"publish","type":"post","link":"https:\/\/www.veeble.com\/kb\/linux-commands-gist\/","title":{"rendered":"Linux Commands &#8211; Gist"},"content":{"rendered":"\n<p>Given below are all Linux Commands \u2013 Gist.<\/p>\n\n\n<div id=\"toc\" class=\"toc\">\n<div id=\"toctitle\">\n<h2>Contents<\/h2>\n<\/div>\n<ul>\n<li class=\"toclevel-1 tocsection-1\"><a href=\"#Access_Control\"><span class=\"tocnumber\">1<\/span> <span class=\"toctext\">Access Control<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-2\"><a href=\"#Communications\"><span class=\"tocnumber\">2<\/span> <span class=\"toctext\">Communications<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-3\"><a href=\"#Documentation\"><span class=\"tocnumber\">3<\/span> <span class=\"toctext\">Documentation<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-4\"><a href=\"#Editors\"><span class=\"tocnumber\">4<\/span> <span class=\"toctext\">Editors<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-5\"><a href=\"#File_and_Directory_Management\"><span class=\"tocnumber\">5<\/span> <span class=\"toctext\">File and Directory Management<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-6\"><a href=\"#File_Display_and_Printing\"><span class=\"tocnumber\">6<\/span> <span class=\"toctext\">File Display and Printing<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-7\"><a href=\"#File_Transfer\"><span class=\"tocnumber\">7<\/span> <span class=\"toctext\">File Transfer<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-8\"><a href=\"#Image_Processing\"><span class=\"tocnumber\">8<\/span> <span class=\"toctext\">Image Processing<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-9\"><a href=\"#News.2FNetworks\"><span class=\"tocnumber\">9<\/span> <span class=\"toctext\">News\/Networks<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-10\"><a href=\"#Process_Control\"><span class=\"tocnumber\">10<\/span> <span class=\"toctext\">Process Control<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-11\"><a href=\"#Programming_Tools\"><span class=\"tocnumber\">11<\/span> <span class=\"toctext\">Programming Tools<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-12\"><a href=\"#Status_Information\"><span class=\"tocnumber\">12<\/span> <span class=\"toctext\">Status Information<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-13\"><a href=\"#Sound\"><span class=\"tocnumber\">13<\/span> <span class=\"toctext\">Sound<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-14\"><a href=\"#Text_Processing\"><span class=\"tocnumber\">14<\/span> <span class=\"toctext\">Text Processing<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-15\"><a href=\"#Web\"><span class=\"tocnumber\">15<\/span> <span class=\"toctext\">Web<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-16\"><a href=\"#X_windows\"><span class=\"tocnumber\">16<\/span> <span class=\"toctext\">X windows<\/span><\/a><\/li>\n<li class=\"toclevel-1 tocsection-17\"><a href=\"#Miscellaneous\"><span class=\"tocnumber\">17<\/span> <span class=\"toctext\">Miscellaneous<\/span><\/a><\/li>\n<\/ul>\n<\/div>\n<h2><span id=\"Access_Control\" class=\"mw-headline\">Access Control<\/span><\/h2>\n<pre>exit     - terminate a shell (see \"man sh\" or \"man csh\")\nlogout   - sign off; end session (C shell and bash shell only;)\npasswd   - change login password\nrlogin   - log in remotely to another UNIX system\nssh      - secure shell\nslogin   - secure version of rlogin\nyppasswd - change login password in yellow pages\n<\/pre>\n<h2><span id=\"Communications\" class=\"mw-headline\">Communications<\/span><\/h2>\n<pre>mail     - send and receive mail\nmesg     - permit or deny terminal messages and talk requests\npine     - send and receive mail \ntalk     - talk to another logged-in user\nwrite    - write to another logged-in user\n<\/pre>\n<h2><span id=\"Documentation\" class=\"mw-headline\">Documentation<\/span><\/h2>\n<pre>apropos  - locate commands by keyword lookup\nfind     - locate file (i.e. find . -name *.tex -print)\ninfo     - start the info explorer program \nman      - find manual information about commands\nwhatis   - describe what a command is\nwhereis  - locate source, binary, or man page for a program\n<\/pre>\n<h2><span id=\"Editors\" class=\"mw-headline\">Editors<\/span><\/h2>\n<pre>emacs    - screen-oriented text editor\npico     - screen-oriented text editor (renamed called nano)\nsed      - stream-oriented text editor\nvi       - full-screen text editor\nvim      - full-screen text editor (\"vi-improved\")\n<\/pre>\n<h2><span id=\"File_and_Directory_Management\" class=\"mw-headline\">File and Directory Management<\/span><\/h2>\n<pre>cd       - change working directory\nchmod    - change the protection of a file or directory\nchown    - change owner (or group) of a file or directory\nchgrp    - change group of a file or directory\ncmp      - compare two files\ncomm     - select\/reject lines common to two sorted files\ncp       - copy files\ncrypt    - encrypt\/decrypt files (CCWF only)\ndiff     - compare the contents of two ASCII files\nfile     - determine file type\ngrep     - search a file for a pattern\ngzip     - compress or expand files\nln       - make a link to a file\nls       - list the contents of a directory\nlsof     - list of open files    \nmkdir    - create a directory\nmv       - move or rename files and directories\npwd      - show the full pathname of your working directory\nquota    - display disk usage and limits\nrm       - delete (remove) files\nrmdir    - delete (remove) directories\nstat     - status of file (i.e. last access)\nsync     - flush filesystem buffers   \nsort     - sort or merge files\ntar      - create or extract archives\ntee      - copy input to standard output and other files\ntr       - translate characters\numask    - change default file protections\nuncompress - restore compressed file\nuniq     - report (or delete) repeated lines in a file\nwc       - count lines, words, and characters in a file\n<\/pre>\n<h2><span id=\"File_Display_and_Printing\" class=\"mw-headline\">File Display and Printing<\/span><\/h2>\n<pre>cat      - show the contents of a file; catenate files\nfold     - fold long lines to fit output device\nhead     - show first few lines of a file\nlpq      - examine the printer spooling queue\nlpr      - print a file\nlprm     - remove jobs from the printer spooling queue\nmore     - display a file, one screen at a time\nless     - like more with more features \npage     - like \"more\", but prints screens top to bottom\npr       - paginate a file for printing\ntail     - show the last part of a file\nzcat     - display a compressed file\nxv       - show print, manipulate images\ngv       - show ps and pdf files\nxpdf     - shopw pdf files (use gv) \n<\/pre>\n<h2><span id=\"File_Transfer\" class=\"mw-headline\">File Transfer<\/span><\/h2>\n<pre>ftp      - transfer files between network hosts\nrsync    - fast and flexible sync between computers\nscp      - secure version of rcp\n<\/pre>\n<h2><span id=\"Image_Processing\" class=\"mw-headline\">Image Processing<\/span><\/h2>\n<pre>gimp     - photoshop type image processing program\nxfig     - drawing program\nxv       - image viewer\nxvscan   - scan picture \nxpaint   - paint program\nkpaint   - kde paint program \n<\/pre>\n<h2><span id=\"News.2FNetworks\" class=\"mw-headline\">News\/Networks<\/span><\/h2>\n<pre>netstat  - show network status\nrsh      - run shell or command on another UNIX system\nssh      - secure-shell version of rsh\n<\/pre>\n<h2><span id=\"Process_Control\" class=\"mw-headline\">Process Control<\/span><\/h2>\n<pre>bg       - put suspended process into background\nfg       - bring process into foreground\njobs     - list processes\n^y       - suspend process at next input request\n^z       - suspend current process  \n<\/pre>\n<h2><span id=\"Programming_Tools\" class=\"mw-headline\">Programming Tools<\/span><\/h2>\n<pre>as       - assembler, specific to each machine architecture\nawk      - pattern scanning and processing language\nbc       - online calculator\ncc       - C compiler \ncsh      - C shell command interpreter\ndbx      - source-level debugging program\nf77      - Fortran compiler \ngdb      - GNU Project debugger\ngprof    - display profile of called routines\nkill     - kill a process\nld       - the UNIX loader\nlex      - generate lexical analysis programs\nlint     - check C source code\nmake     - maintain large programs\nmaple    - symbolic mathematics program\nmath     - symbolic mathematics program\nnice     - run a command at low priority (see \"man nice\" or \"man csh\")\nnohup    - run a command immune to hangups\npc       - Pascal compiler (xlp on ADS)\nperl     - Popular script interpreter\nprof     - display profile data\npython   - Python programming language\nsh       - Bourne shell command interpreter\nyacc     - generate input parsing programs\nxcalc    - graphical calulator under x\n<\/pre>\n<h2><span id=\"Status_Information\" class=\"mw-headline\">Status Information<\/span><\/h2>\n<pre>clock    - determine processor time\ndate     - show date and time\ndf       - summarize free disk space\ndu       - summarize disk space used\nenv      - display environment\nfinger   - look up user information\nhistory  - list previously issued commands \nlast     - indicate last login of users\nlpq      - examine spool queue\nmanpath  - show search path for man pages\nprintenv - print out environment\nps       - show process status\npwd      - print full pathname of working directory\nset      - set shell variables (C shell, bash, or ksh)\nspend    - lists year-to-date ACITS UNIX charges\nstty     - set terminal options\ntime     - timing programs\ntop      - list  top  cpu processes\nuptime   - show system load, how long system has been up\nw        - show who is on system, what command each job is executing\nwho      - show who is logged onto the system\nwhois    - Internet user name directory service\nwhoami   - who owns the shell\n<\/pre>\n<h2><span id=\"Sound\" class=\"mw-headline\">Sound<\/span><\/h2>\n<pre>mplayer  - mpg player \nrealplay - realaudio player\ntimidity - midi to wav converter and player\nxmms     - mp3 player \n<\/pre>\n<h2><span id=\"Text_Processing\" class=\"mw-headline\">Text Processing<\/span><\/h2>\n<pre>abiword  - open source word processor\naddbib   - create or extend bibliographic database\ncol      - filter reverse line feeds\ndiction  - identify wordy sentences \ndiffmk   - mark differences between files\ndvips    - convert TeX DVI files into PostScript\nexplain  - explain phrases found by diction program\ngrap     - pic preprocessor for drawing graphs \nhyphen   - find hyphenated words \nispell   - check spelling interactively\nlatex    - format text in LaTeX (based on TeX)\npdfelatex- latex with pdf output \nlatex2html- Latex to html\nlookbib  - find bibliography references\nmacref   - make cross-reference listing of nroff\/troff macro files\nndx      - create a subject-page index for a document\nneqn     - format mathematics with nroff\nnroff    - format text for simple display\npic      - make simple pictures for troff input\npsdit    - filter troff output for Apple LaserWriter\nptx      - make permuted index (not on CCWF)\nrefer    - insert references from bibliographic databases \nroffbib  - run off bibliographic database \nsortbib  - sort bibliographic database \nspell    - find spelling errors\nispell   - interactive spell checker\nstyle    - analyze surface characteristics of a document \ntbl      - format tables for nroff\/troff\ntex      - format text\ntpic     - convert pic source files into TeX commands \nwget     - grab webpage\n<\/pre>\n<h2><span id=\"Web\" class=\"mw-headline\">Web<\/span><\/h2>\n<pre>html2ps  - html to ps\nlatex2html- latex to html translator\nlynx     - text based webbrowser\nnetscape - webbrowser\nsitecopy - sitecopy is for easily maintaining remote web sites.\nweblint  - html sytax and style checker\n<\/pre>\n<h2><span id=\"X_windows\" class=\"mw-headline\">X windows<\/span><\/h2>\n<pre>grabmode - info on screen: i.e. \"1152x864\"  51.213kHz\/56.59Hz\nimport   - grab window (i.e. import ppm:- &gt;out.ppm)\nxdpyinfo -  number of colors \nxkill    - kill xwindow\nxlock    - lock screen\nxterm    - xterminal\nxwininfo - information on open window \n<\/pre>\n<h2><span id=\"Miscellaneous\" class=\"mw-headline\">Miscellaneous<\/span><\/h2>\n<pre>alias    - define synonym commands\nchquota  - change disk quota on ACITS UNIX systems\nchsh     - change default login shell\nclear    - clear terminal screen\necho     - echo arguments\npbm      - portable bitmap manipulation programs\npopd     - pop the directory stack (C shell only)\npushd    - push directory on stack (C shell only)\nscript   - make typescript of terminal session\nsetenv   - set an environment variable (C shell only)\nstty     - set terminal options<\/pre>\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-1b91ceab wp-block-button\"><div class=\"uagb-cta__wrap\"><h3 class=\"uagb-cta__title\">Speed Up Your Magento Store<\/h3><p class=\"uagb-cta__desc\">Don&#8217;t lose sales to slow loading times! Our hosting uses LiteSpeed and NVMe SSDs, specifically optimized for Magento speed. Give customers a faster, better shopping experience.<\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/www.veeble.com\/in\/magento-hosting\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_blank\" rel=\"noopener noreferrer\">Choose Your Plan<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path d=\"M504.3 273.6l-112.1 104c-6.992 6.484-17.18 8.218-25.94 4.406c-8.758-3.812-14.42-12.45-14.42-21.1L351.9 288H32C14.33 288 .0002 273.7 .0002 255.1S14.33 224 32 224h319.9l0-72c0-9.547 5.66-18.19 14.42-22c8.754-3.809 18.95-2.075 25.94 4.41l112.1 104C514.6 247.9 514.6 264.1 504.3 273.6z\"><\/path><\/svg><\/a><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Given below are all Linux Commands \u2013 Gist. Contents 1 Access Control 2 Communications 3 Documentation 4 Editors 5 File and Directory Management 6 [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":8134,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[5],"tags":[],"class_list":["post-187","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"uagb_featured_image_src":{"full":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Linux-Commands-\u2013-Gist.jpg",1366,768,false],"thumbnail":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Linux-Commands-\u2013-Gist-150x150.jpg",150,150,true],"medium":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Linux-Commands-\u2013-Gist-300x169.jpg",300,169,true],"medium_large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Linux-Commands-\u2013-Gist-768x432.jpg",768,432,true],"large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Linux-Commands-\u2013-Gist-1024x576.jpg",1024,576,true],"1536x1536":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Linux-Commands-\u2013-Gist.jpg",1366,768,false],"2048x2048":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Linux-Commands-\u2013-Gist.jpg",1366,768,false]},"uagb_author_info":{"display_name":"Vipin Raj","author_link":"https:\/\/www.veeble.com\/kb\/author\/vipin\/"},"uagb_comment_info":0,"uagb_excerpt":"Given below are all Linux Commands \u2013 Gist. Contents 1 Access Control 2 Communications 3 Documentation 4 Editors 5 File and Directory Management 6 [&hellip;]","_links":{"self":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/comments?post=187"}],"version-history":[{"count":5,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/187\/revisions"}],"predecessor-version":[{"id":8437,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/187\/revisions\/8437"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media\/8134"}],"wp:attachment":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media?parent=187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/categories?post=187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/tags?post=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}