[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571396-105":53,"doc-detail-571396-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","linux-command-cheat-sheet-quick-reference","Linux Command Cheat Sheet - Quick Reference","","A compact Linux command cheat sheet organized by common administrative and everyday tasks, including superuser execution, manual lookup, background and job control, and standard output redirection. It summarizes file and directory permissions, ownership, timestamp changes, searching and listing, disk usage, and file type inspection. It also covers networking tools for diagnostics and connectivity, compression and archiving workflows, text editing options, directory/file utilities, scripting languages and quoting rules, plus memory, process, and disk management commands for system monitoring and maintenance.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":51,"@type":70,"position":76},"https://docshare.wps.com/template/general/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/linux-command-cheat-sheet-quick-reference/571396/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/linux-command-cheat-sheet-quick-reference/571396.png","ImageObject",442,249,{"name":88,"@type":89},"Liam","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-27","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",8,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"How do I run a command in superuser mode and keep it running after logout?","Question",{"text":109,"@type":110},"Use sudo [command] to run in superuser mode. Use nohup [command] to run a task immune to hangup signals.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"What commands help me manage files, search content, and control permissions?",{"text":114,"@type":110},"Use find, ls, rm, cp, mv, and grep for searching and listing. Use chmod, chown, chgrp, and touch for permission and timestamp updates.",{"name":116,"@type":107,"acceptedAnswer":117},"Which commands are useful for networking diagnostics and monitoring?",{"text":118,"@type":110},"Use netstat, tcpdump, telnet, ssh, and ping for connectivity and tracing. Use dmesg and service for system messages and service control.","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},571396,1792109708,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":50,"category_name":51,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":9,"language":136,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":61,"update_tm":140,"read_time":4},8796095461564,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Linux Command Cheat Sheet  \nShare This Cheat Sheet  \nBasic commands  \n|  \nsudo [command]  \nnohup [command]  \nman [command]  \n[command] &  \n>> [ﬁleA]  \n> [ﬁleA]  \necho-n  \nxargs  \n1>2&  \nfg %N  \njobs  \nctrl-z  \nPipe (redirect) output  \nrun \u003C command> in superuser mode  \nrun \u003C command> immune to hangup signal  \ndisplay help pages of \u003C command>  \nrun \u003C command> and send task to background  \nappend to ﬁleA, preserving existing contents  \noutput to ﬁleA, overwriting contents  \ndisplay a line of text  \nbuild command line from previous output  \nRedirect stdout to stderr  \ngo to task N  \nlist task  \nsuspend current task  \nFile permission  \nchmod-c-R  \ntouch-a-t  \nchown-c-R  \nchgrp-c-R  \ntouch-a-t  \nchmod ﬁle read, write and executable permission  \nmodify (or create) ﬁle timestamp  \nchange ﬁle ownership  \nchange ﬁle group permission  \nmodify (or create) ﬁle timestamp  \nNetwork  \nnetstat-r-v  \ntelnet  \ntcpdump  \nssh-i  \nping-c  \nprint network information, routing and connections  \nuser interface to the TELNET protocol  \ndump network traﬃc  \nopenSSH client  \nprint routing packet trace to host network  \nCompiled by Alvin Khoo  \nFile management  \nﬁnd  \nls-a-C-h  \nrm-r-f  \nlocate-i  \ncp-a-R-i  \ndu-s  \nﬁle-b-i  \nmv-f-i  \ngrep, egrep, fgrep-i -v  \nsearch for a ﬁle  \nlist content of directory  \nremove ﬁles and directory  \nﬁnd ﬁle, using updatedb(8) database  \ncopy ﬁles or directory  \ndisk usage  \nidentify the ﬁle type  \nmove ﬁles or directory  \nprint lines matching pattern  \nFile compression  \ntar xvfz  \ngzip, gunzip, zcat  \nuuencode, uudecode  \nzip, unzip-v  \nrpm  \nbzip2, bunzip2  \nrar  \ncreate or extract .tar or .tgz ﬁles  \ncreate, extract or view .gz ﬁles  \ncreate or extract .Z ﬁles  \ncreate or extract .ZIP ﬁles  \ncreate or extract .rpm ﬁles  \n[create or extract .bz2](create or extract .bz2) ﬁles  \ncreate or extract . rar ﬁles  \nFile Editor  \nex  \nvi  \nnano  \nview  \nemacs  \nsublime  \nsed  \npico  \nbasic editor  \nvisual editor  \npico clone  \nview ﬁle only  \nextensible, customizable editor  \nyet another text editor  \nstream editor  \nsimple editor  \nDirectory Utilities  \nmkdir  \nrmdir  \ncreate a directory  \nremove a directory  \nFile Utilities  \ntr-d  \nuniq-c-u  \nsplit-l  \nwc-w  \nhead-n  \ncut-s  \ndiﬀ -q  \njoin-i  \nmore, less  \nsort-n  \ncomm-3  \ncat-s  \ntail-f  \ntranslate or delete character  \nreport or omit repeated lines  \nsplit ﬁle into pieces  \nprint newline, word, and byte counts for each ﬁle  \noutput the ﬁrst part of ﬁles  \nremove section from ﬁle  \nﬁle compare, line by line  \njoin lines of two ﬁles on a common ﬁeld  \nview ﬁle content, one page at a time  \nsort lines in text ﬁle  \ncompare two sorted ﬁles, line by line  \nconcatenate ﬁles to the standard output  \noutput last part of the ﬁle  \nScripting  \nawk, gawk  \ntsh  \n\" \"  \n' '  \npython  \nbash  \nksh  \nphp  \ncsh, tcsh  \nperl  \nsource [ﬁle]  \npattern scanning  \ntiny shell  \nanything within double quotes is unchanged except \\ and $  \nanything within single quote is unchanged  \n\"object-oriented programming language\"  \nGNU bourne-again SHell  \nkorn shell  \ngeneral-purpose scripting language  \nC shell  \nPractical Extraction and Report Language  \nload any functions ﬁle into the current shell, requires the ﬁleto be executable  \nMemory & Processes  \nfree-m  \nkillall  \nsensors  \ntop  \nkill-1-9  \nservice  \n[start|stop|restart]  \nps aux  \ndmesg-k  \ndisplay free and used system memory  \nstop all process by name  \nCPU temperature  \ndisplay current processes, realtime monitoring  \nsend signal to process  \nmanage or run sysV init script  \ndisplay current processes, snapshot  \ndisplay system messages  \nDisk Utilities  \ndf-h, -i  \nmkfs-t-V  \nresize2fs  \nfsck-A-N  \npvcreate  \nmount-a-t  \nfdisk-l  \nlvcreate  \numount-f-v  \nFile system usage  \ncreate ﬁle system  \nupdate a ﬁlesystem, after lvextend*  \nﬁle system check & repair  \ncreate physical volume  \nmount a ﬁlesystem  \nedit disk partition  \ncreate a logical volume  \numount a ﬁlesystem  \nMisc Commands  \npwd-P  \nbc  \nexpr  \ncal  \nexport  \n` [command]  \ndate-d","cbCaim1Rljti9B4T","https://ap.wps.com/l/cbCaim1Rljti9B4T","pdf",987562,"English","# Basic commands\n# File permission\n# Network\n# File management\n# File compression\n# File Editor\n# Directory Utilities\n# File Utilities\n# Scripting\n# Memory & Processes\n# Disk Utilities\n# Misc Commands","[{\"question\":\"How do I run a command in superuser mode and keep it running after logout?\",\"answer\":\"Use sudo [command] to run in superuser mode. Use nohup [command] to run a task immune to hangup signals.\"},{\"question\":\"What commands help me manage files, search content, and control permissions?\",\"answer\":\"Use find, ls, rm, cp, mv, and grep for searching and listing. Use chmod, chown, chgrp, and touch for permission and timestamp updates.\"},{\"question\":\"Which commands are useful for networking diagnostics and monitoring?\",\"answer\":\"Use netstat, tcpdump, telnet, ssh, and ping for connectivity and tracing. Use dmesg and service for system messages and service control.\"}]","Linux Command Cheat Sheet - Quick Reference | PDF",1791915348]