[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-573283-105":53,"doc-detail-573283-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-commands-cheat-sheet-keyboard-shortcuts-clear-exit","Linux Commands Cheat Sheet - Keyboard Shortcuts - Clear - Exit","","Linux Commands Cheat Sheet aggregates essential terminal knowledge for day-to-day administration and troubleshooting. It lists frequently used keyboard shortcuts for controlling processes and editing the command line, alongside core navigation, search, and text-processing commands. The sheet also covers common package management flows across Debian/Ubuntu and Red Hat families, user/group administration, SSH and file transfer commands, permissions changes, and basic file operations. Quick command references help users act faster in interactive sessions.",{"@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":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/linux-commands-cheat-sheet-keyboard-shortcuts-clear-exit/573283/",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-keyboard-shortcuts-clear-exit/573283.png","ImageObject",442,249,{"name":88,"@type":89},"Bulrr","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-18","2026-10-14",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",6,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"Which keyboard shortcuts are used to control terminal processes?","Question",{"text":109,"@type":110},"The sheet includes Ctrl + C to kill a running process and Ctrl + Z to stop the current process. It also supports resuming with fg for foreground and bg for background.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How can I search for files and text on Linux?",{"text":114,"@type":110},"Use find [path] -name [search_pattern] for matching files in a location, grep [search_pattern] [file_name] for pattern search within a file, and grep-r for recursive search in a directory.",{"name":116,"@type":107,"acceptedAnswer":117},"What commands help manage packages and permissions?",{"text":118,"@type":110},"For packages, apt-get install, apt search, apt list, and apt show are provided for Debian/Ubuntu, while yum install and dnf install appear for Red Hat variants. For permissions, chmod with numeric modes and chown for ownership changes are listed.","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},573283,1792014843,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":8,"category_name":11,"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},5909892115043,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Linux Commands Cheat Sheet  \nKeyboard Shortcuts  \nCtrl + C Kill process running in the  \nterminal.  \nCtrl + Z Stop the current process.  \nThe process can be resumed in the foreground with fg or in the background with bg.  \nCtrl + W Cut one word before the  \ncursor and add it to the clipboard.  \nCtrl + U Cut part of the line before  \nthe cursor and add it to the clipboard.  \nCtrl + K Cut part of the line after the  \ncursor and add it to the clipboard.  \nCtrl + Y Paste from clipboard.  \nCtrl + R Recall the last command  \nthat matches the provided characters.  \nCtrl + O Run the previously recalled  \ncommand.  \nCtrl + G Exit command history  \nwithout running a command.  \nclear Clear the terminal screen.  \n!! Run the last command  \nagain.  \nexit Log out of the current  \nsession.  \nSearching  \nfind [path] -name [search_pattern]  \nFind files and directories that match the specified pattern in a  \nspecified location.  \nfind [path] -size [+100M] See files and directories  \nlarger than a specified size in a directory.  \ngrep [search_pattern][file_name]  \nSearch for a specific  \npattern in a file with grep.  \ngrep-r [search_pattern][directory_name]  \nRecursively search for a pattern in a directory.  \nlocate [name] Locate all files and  \ndirectories related to a particular name.  \nwhich [command] Search the command  \npath in  \nthe $PATH environment variable.  \nwhereis [command] Find the source, binary,  \nand manual page for a command.  \nawk '[search_pattern]{print $0}' [file_name]  \nPrint all lines matching a pattern in a file. See also the gawk command, the GNU version of awk.  \nsed 's/[old_text]/  \n[new_text]/' [file_name]  \nFind and replace text in a specified file.  \nDirectory Navigation  \nls List files and directories in  \nthe current directory.  \nls-a List all files and directories  \nin the current directory (shows hidden files).  \nls-l List files and directories in  \nlong format.  \npwd Show the directory you  \nare currently working in.  \ncd  \ncd ~  \nChange  \ndirectory to $HOME.  \ncd .. Move up one directory  \nlevel.  \ncd- Change to the previous  \ndirectory.  \ncd [directory_path] Change location to a  \nspecified directory.  \ndirs Show current directory  \nstack.  \nPackages (Debian/Ubuntu)  \nsudo apt-get install [package_name]  \nInstall an APT package using the apt-get package utility.  \n\n| sudo apt install | Install an APT package |\n| --- | --- |\n| [package_name] | using a newer APT package manager. |\n| apt search [keyword] | Search for a package in the APT repositories. |\n| apt list | List packages installed with APT. |\n| apt show\u003Cbr>[package_name] | Show information about a package. |\n| sudo dpkg-i | Install a . deb package with |\n| [package_name.deb] | the Debian package manager. |\n| sudo dpkg-l | List packages installed with dpkg. |\n\nUsers and Groups  \nid See details about the  \nactive users.  \nlast Show the last system  \nlogins.  \nwho Display who is currently  \nlogged into the system.  \nw Show which users  \nare logged in and their activity.  \nfinger [user_name] Show user information.  \nsudo useradd [user_name]  \nCreate a new user account.  \nsudo adduser [user_name]  \nsudo userdel [user_name]  \nsudo usermod-aG [group_name][user_name]  \nCreate a new user account through the adduser command interface.  \nDelete a user account.  \nModify user  \ninformation (add a user toa group) .  \npasswd  \nsudo passwd [user_name]  \nChange the current user's or another user's password.  \nsudo groupadd [group_name]  \nAdd a new group.  \nsudo groupdel [group_name]  \nDelete a group.  \nsudo groupmod-n [new_name] [old_name]  \nModify a user group (change group name).  \nsudo [command] Temporarily elevate user  \nprivileges to superuser or root.  \nsu- [user_name] Switch the user account or  \nbecome a superuser.  \nchgrp [group_name] [file/ directory]  \nChange file or directory group.  \nSSH Login  \nssh [user_name]@[host] Connect to a remote  \nhost as a user via SSH.  \nssh [host] Securely connect to a  \nhost via SSH default port 22.  \nssh-p [port]  \n[user_name]@[","cbCaitkbb3uDYtwF","https://ap.wps.com/l/cbCaitkbb3uDYtwF","pdf",112051,"English","# Linux Commands Cheat Sheet\n## Keyboard Shortcuts\n## Searching\n## Directory Navigation\n## Packages (Debian/Ubuntu)\n## Users and Groups\n## SSH Login\n## File Permissions\n## Packages (Red Hat, CentOS, Fedora)\n## Files","[{\"question\":\"Which keyboard shortcuts are used to control terminal processes?\",\"answer\":\"The sheet includes Ctrl + C to kill a running process and Ctrl + Z to stop the current process. It also supports resuming with fg for foreground and bg for background.\"},{\"question\":\"How can I search for files and text on Linux?\",\"answer\":\"Use find [path] -name [search_pattern] for matching files in a location, grep [search_pattern] [file_name] for pattern search within a file, and grep-r for recursive search in a directory.\"},{\"question\":\"What commands help manage packages and permissions?\",\"answer\":\"For packages, apt-get install, apt search, apt list, and apt show are provided for Debian/Ubuntu, while yum install and dnf install appear for Red Hat variants. For permissions, chmod with numeric modes and chown for ownership changes are listed.\"}]","Linux Commands Cheat Sheet - Keyboard Shortcuts - Clear - Exit | PDF",1791936426]