[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571397-105":53,"doc-detail-571397-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-line-cheatsheet","Linux Command Line Cheatsheet","","A concise Linux command line cheatsheet that compiles practical commands for everyday terminal use. It covers core file and directory operations (ls, cd, cp, mv, rm, mkdir, chmod), system information and session basics (uname, uptime, whoami, man, mount), and core text handling and partition inspection (cat, head, tail, grep, /proc). It also includes search and file-locating tools (find, whereis, which), plus encryption, compression, SSH remote access, package installation, process management, keyboard shortcuts, and disk space monitoring.",{"@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-line-cheatsheet/571397/",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-line-cheatsheet/571397.png","ImageObject",442,249,{"name":88,"@type":89},"Asher","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-22","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",9,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What are the common commands for listing files and changing directories?","Question",{"text":109,"@type":110},"Use ls to list directory contents and cd to change the working directory, including cd .. to go up and cd - to return to the previous directory.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How do you encrypt and decrypt files on Linux?",{"text":114,"@type":110},"Use gpg -c to encrypt a file and gpg file.gpg to decrypt the encrypted output.",{"name":116,"@type":107,"acceptedAnswer":117},"Which commands help manage remote connections and installed packages?",{"text":118,"@type":110},"Use ssh to connect remotely and scp to copy files. Install packages with dpkg -i for .deb and rpm -Uvh for .rpm.","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},571397,1792058104,{"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":73,"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":9},687197207639,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","Linux Command Line Cheatsheet  \nMake Tech Easier  \nUncomplicating the complicated  \n\n| File Commands |\n| --- |\n| ls-List the content of the current directory ls-R-List the subdirectories recursively\u003Cbr>ls-a-List all the content, including hidden files ls-l-List the content and its information pwd-Output the current directory that you are in\u003Cbr>cd folder1 – Change the working directory to folder1\u003Cbr>cd-Return to the $Home directory cd .. -Go up a directory\u003Cbr>cd- -Return to the previous directory\u003Cbr>cp source destination – Copy source to destination\u003Cbr>cp-r source destination – Copy a folder recursively from source to destination\u003Cbr>mv source destination-Move (or rename) a file from source to destination\u003Cbr>rm file1-Remove file1\u003Cbr>rm-f file1-Remove file1 without prompt\u003Cbr>rm-r folder-Remove a folder and its content recursively mkdir foldername – Create a new folder foldername rmdir foldername – Remove an empty folder\u003Cbr>file file1 – Show the file type offile1\u003Cbr>cat file1 file2 – Concatenate file1 to file 2\u003Cbr>cat > file1 – Concatenate standard input to file1\u003Cbr>less file1-View and paginate file1\u003Cbr>head file1-Show first 10 lines offile1\u003Cbr>tail file1-Show last 10 lines offile1\u003Cbr>chmod 777 file-Change file permission offile to 777\u003Cbr>chown user:group file-Change ownership offile to user and group group\u003Cbr>ln-s source destination – Create a symbolic link from source to destination\u003Cbr>\u003Cbr>File Encryption and Compression\u003Cbr>gpg-c file-Encrypt file\u003Cbr>gpg file.gpg-Decrypt file.gpg\u003Cbr>tar-cf archive.tar foo bar-Create archive.tar from files foo and bar\u003Cbr>tar-xf archive.tar-Extract all files from archive.tar. |\n\n\n| System Commands |\n| --- |\n| uname-a-Show system and kernel head-n1 /etc/issue-Show distribution mount-Show mounted filesystems date-Show system date\u003Cbr>uptime-Show system uptime whoami-Show your username w-Display who is online\u003Cbr>man command-Show manual for command\u003Cbr>mount-o loop cdrom.iso /mnt/dir-Mount cdrom.iso at /mnt/dir\u003Cbr>cat /proc/partitions-Show all partitions registered on the system\u003Cbr>grep MemTotal /proc/meminfo-Show RAM total seen by the system\u003Cbr>grep \"model name\" /proc/cpuinfo-Show CPU(s) info lspci-tv-Show PCI info\u003Cbr>lsusb-tv-Show USB info!! -Repeat the last command exit – Log out of current session\u003Cbr>\u003Cbr>File Searching Commands\u003Cbr>grep pattern files-Search for pattern in files\u003Cbr>grep-i-Case insensitive search grep-r-Recursive search grep-v-Inverted search\u003Cbr>grep-o-Show matched part of file only locate file1-Find file1\u003Cbr>whereis command-Find binary/source /manual for command which app – Locate a command for the app\u003Cbr>look string file1-Display any lines in file1 which contain string as a prefix.\u003Cbr>find /dir/ -user name-Find files owned by name in dir\u003Cbr>find /dir/ -mmin num-Find files modifed less than num minutes ago in dir\u003Cbr>find /dir/ -name name* -Find files starting with name in dir |\n\ntar-czf archive.tar.gz foo bar-Create archive.tar.gz from files foo and bar, with Gzip compression  \ntar-xzf archive.tar.gz-Extract a tar using Gzip  \n[tar-cjf archive.tar.bz2](tar-cjf archive.tar.bz2) [foo bar](foo bar-Create archive.tar.bz2 from)[-Create](foo bar-Create archive.tar.bz2 from)[ archive.tar.bz2](foo bar-Create archive.tar.bz2 from)[ from](foo bar-Create archive.tar.bz2 from)[ ](foo bar-Create archive.tar.bz2 from)[files](files foo and bar)[ foo](files foo and bar)[ and](files foo and bar)[ bar](files foo and bar), using Bzip2 compression.  \n[tar-xjf archive.tar.bz2](tar-xjf archive.tar.bz2) – Extract a tar using Bzip2  \ngzip file1 – Compress file1 and rename it to file1.gz  \ngzip-d file1.gz – Decompress file1.gz  \nSSH  \nssh $USER@$HOST – Connect to $Host as $USER  \nssh $USER@$HOST command-Run command on $HOST as $USER  \nssh $USER@$HOST -p 1234 – Connect to $HOST as $USER on port 1234  \nscp file1 $USER@$HOST:file1 – Secure copy file1 from local machine to file1 at remote $HOST  \nscp $USER@$HOST:file1 file1– Secure copy file1 from remote $HOST to file1 at local machine  \nscp-r foo $USER@$HOST:/ba","cbCaicqRQE2GHzna","https://ap.wps.com/l/cbCaicqRQE2GHzna","pdf",128035,"English","# File Commands\n# File Encryption and Compression\n# System Commands\n# File Searching Commands\n# SSH\n# Package Installation\n# Process Management\n# Keyboard Shortcuts\n# Disk Space","[{\"question\":\"What are the common commands for listing files and changing directories?\",\"answer\":\"Use ls to list directory contents and cd to change the working directory, including cd .. to go up and cd - to return to the previous directory.\"},{\"question\":\"How do you encrypt and decrypt files on Linux?\",\"answer\":\"Use gpg -c to encrypt a file and gpg file.gpg to decrypt the encrypted output.\"},{\"question\":\"Which commands help manage remote connections and installed packages?\",\"answer\":\"Use ssh to connect remotely and scp to copy files. Install packages with dpkg -i for .deb and rpm -Uvh for .rpm.\"}]","Linux Command Line Cheatsheet | PDF",1791915349]