[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571660-105":53,"doc-detail-571660-en":126},{"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":119,"head_meta":121,"extra_data":123,"updated_unix":125},105,"en","linux-commands-cheat-sheet-quick-reference","Linux Commands Cheat Sheet - Quick Reference","","Linux Commands Cheat Sheet compiles practical command-line utilities for hardware inspection, compression, package installation, SSH access, searching, file transfer, process management, permissions, common file operations, and system/network diagnostics. It includes examples such as viewing boot and CPU details, archiving with tar and gzip, installing packages with yum/dnf/rpm, connecting via SSH, using grep/find/locate, transferring with scp/rsync, monitoring processes with ps/top, managing access with chmod/chown, and exploring disk and network state.",{"@graph":63,"@context":118},[64,80,101],{"@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-commands-cheat-sheet-quick-reference/571660/",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-commands-cheat-sheet-quick-reference/571660.png","ImageObject",442,249,{"name":88,"@type":89},"dawugda","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-21","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":15},"InteractionCounter",{"@type":100},"ViewAction",{"@type":102,"mainEntity":103},"FAQPage",[104,110,114],{"name":105,"@type":106,"acceptedAnswer":107},"What commands are used to check hardware and system details?","Question",{"text":108,"@type":109},"dmesg shows bootup messages, cat /proc/cpuinfo shows CPU information, lshw and lsblk list hardware details, and dmidecode reports BIOS hardware information. uname, uptime, hostname, date, and timedatectl provide system information.","Answer",{"name":111,"@type":106,"acceptedAnswer":112},"How do you compress and extract files on Linux?",{"text":113,"@type":109},"Use tar cf to create an archive and tar xf to extract it. For gzip compression, use tar czf to create a .tar.gz archive and gzip to compress a single file with the .gz extension.",{"name":115,"@type":106,"acceptedAnswer":116},"What tools help with package installation and searching for software?",{"text":117,"@type":109},"Use yum search [keyword] and yum info [package_name] for YUM-based systems. Install with yum install, dnf install, or rpm -i for local RPMs. Search files with grep, locate, and find commands.","https://schema.org",{"og:url":78,"og:type":120,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":122,"canonical":78},"index,follow",{"doc_id":124,"site_id":56},571660,1792086979,{"code":4,"msg":5,"data":127},{"doc_id":124,"user_id":128,"nickname":88,"user_avatar":129,"doc_module":9,"category_id":50,"category_name":51,"doc_title":59,"doc_description":61,"doc_content":130,"file_id":131,"file_url":132,"file_type":133,"file_size":134,"view_count":15,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":9,"language":135,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":136,"faqs":137,"seo_title":138,"seo_description":61,"update_tm":139,"read_time":4},3985747870947,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Linux Commands Cheat Sheet  \nHardware Information  \ndmesg show bootup messages  \n\n| cat /proc/cpuinfo | show CPU information |\n| --- | --- |\n| free-h | show free and used memory (-m ﬂag indicates memory in MB) |\n| lshw | list information about hardware conﬁguration |\n| lsblk | list information about block devices |\n| lspci-tv | show PCI devices in a tree-like diagram |\n| lsusb-tv | show USB devices in a tree-like diagram |\n| dmidecode | show hardware information from the BIOS |\n| hdparm-i /dev/[disk] | show information about disk data |\n| hdparm-tT /dev/[disk] | conduct a read speed test on disk |\n| badblocks-s /dev/[disk] | test for unreadable blocks on disk |\n\nFile Compression  \n\n| tar cf [compressed_ﬁle. tar] [ﬁle_name] | create an archived ﬁle from a ﬁle |\n| --- | --- |\n| tar xf [compressed_ﬁle. tar] | extract archived ﬁle |\n| tar czf\u003Cbr>[compressed_ﬁle.tar.gz] | create a gzip compressed tar ﬁle |\n| gzip [ﬁle_name] | compress a ﬁle with the .gz extension |\n\nPackage Installation  \nyum search [keyword]  \nﬁnd a package by a related keyword  \n\n| yum info [package_name] | show package information and summary |\n| --- | --- |\n| yum install | install a package using the YUM |\n| [package_name. rpm] | package manager |\n| dnf install | install a package using the DNF |\n| [package_name. rpm] | package manager |\n| rpm-i [package_name. rpm] | install an rpm package from a local ﬁle |\n| rpm-e [package_name. rpm] | remove an rpm package |\n| tar zxvf [source_code.tar.gz] cd [source_code]./conﬁgure\u003Cbr>make\u003Cbr>make install | install software from source code |\n\nSSH Login  \n\n| ssh user@host | connect to host as user |\n| --- | --- |\n| ssh host | securely connect to host via SSH default port 22 |\n| ssh-p [port] user@host | connect to host using a particular port |\n| telnet host | connect to host via telnet default port 23 |\n\nSearching  \ngrep [pattern][ﬁle_name]  \nsearch for a speciﬁc pattern in a ﬁle  \n\n| grep-r [pattern][directory_name] | search recursively for a speciﬁc pattern in a directory |\n| --- | --- |\n| locate [name] | ﬁnd all ﬁles and directories by aspeciﬁc name |\n| ﬁnd [/folder/location]\u003Cbr>-name [a] | list names that begin with [a] in [/folder/location] |\n| ﬁnd [/folder/location]\u003Cbr>-size [+100M] | list ﬁles larger than 100M in a particular folder |\n\nFile Transfer  \nscp [ﬁle_name.txt] securely copy a speciﬁc ﬁle to a  \n[server/tmp] server directory  \nrsync-a [/your/directory][/backup/]  \nsynchronize the contents of aspeciﬁc directory with a backup directory  \nProcess Related  \nps show a snapshot of active  \nprocesses  \n\n| pstree | show processes as a tree |\n| --- | --- |\n| pmap | shows a memory usage map of processes |\n| top | show all running processes |\n| kill [process_id] | kill a process under a given ID |\n| pkill [proc_name] | kill a process under the speciﬁed name |\n| killall [proc_name] | kill all processes labelled proc |\n| bg | list and resume stopped jobs in the background |\n| fg | bring the most recent suspended job to the foreground |\n| fg [job] | bring a particular job to the foreground |\n| lsof | list ﬁles opened by processes |\n\nFile Permission  \nchmod 777 [ﬁle_name] give read, write, and execute  \npermission to everyone  \n\n| chmod 755 [ﬁle_name] | give full permission to owner, and read and execute permission to group and others |\n| --- | --- |\n| chmod 766 [ﬁle_name] | give full permission to owner, and read and write permission to group and others |\n| chown [user][ﬁle_name] | change the ﬁle ownership |\n| chown [user]: [group][ﬁle_name] | change the owner and group ownership of a ﬁle |\n\nFile Commands  \n\n| ls | list ﬁles in directory |\n| --- | --- |\n| ls-a | list all ﬁles, including hidden |\n| pwd | show the directory currently working in |\n| mkdir [directory] | create a new directory |\n| rm [ﬁle_name] | remove a ﬁle |\n| rm-r [directory_name] | remove a directory recursively |\n| rm-rf [directory_name] | remove a directory recursively without requiring conﬁrmation |\n| cp [ﬁle_name1][ﬁle_name2] | copy the contents of th","cbCaivqZzZRn8UgI","https://ap.wps.com/l/cbCaivqZzZRn8UgI","pdf",78998,"English","# Hardware Information\n## File Compression\n## Package Installation\n## SSH Login\n## Searching\n## File Transfer\n## Process Related\n## File Permission\n## File Commands\n## System Information\n## Network\n## Directory Navigation","[{\"question\":\"What commands are used to check hardware and system details?\",\"answer\":\"dmesg shows bootup messages, cat /proc/cpuinfo shows CPU information, lshw and lsblk list hardware details, and dmidecode reports BIOS hardware information. uname, uptime, hostname, date, and timedatectl provide system information.\"},{\"question\":\"How do you compress and extract files on Linux?\",\"answer\":\"Use tar cf to create an archive and tar xf to extract it. For gzip compression, use tar czf to create a .tar.gz archive and gzip to compress a single file with the .gz extension.\"},{\"question\":\"What tools help with package installation and searching for software?\",\"answer\":\"Use yum search [keyword] and yum info [package_name] for YUM-based systems. Install with yum install, dnf install, or rpm -i for local RPMs. Search files with grep, locate, and find commands.\"}]","Linux Commands Cheat Sheet - Quick Reference | PDF",1791923017]