[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571399-105":53,"doc-detail-571399-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-basic-linux-commands-quick-reference","Linux Commands Cheat Sheet - Basic Linux Commands - Quick reference","","Linux Commands Cheat Sheet provides a compact, practical reference for commonly used Linux shell commands across core categories. It covers basic navigation and file operations (ls, cd, cat, mv, rm), help and session tools (man, history, clear), directory management (mkdir, rmdir), and privilege escalation (sudo). It also summarizes printing and package management (pr*, apt-get), email sending, file permissions (read/write/execute), environment variables, user administration, networking and remote access (SSH, ping, put/get), process control, and essential VI editor commands.",{"@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-basic-linux-commands-quick-reference/571399/",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-basic-linux-commands-quick-reference/571399.png","ImageObject",442,249,{"name":88,"@type":89},"Levi","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-21","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",7,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What ls options are used to show hidden files and detailed information?","Question",{"text":109,"@type":110},"Use -a to list hidden files and -al to list files and directories with detailed information such as permissions, size, and owner. ls-R lists files in sub-directories as well.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How do you manage file permissions and ownership in this cheat sheet?",{"text":114,"@type":110},"Permission flags are shown with r (read), w (write), x (execute), and - (no permission). Use Chown user to change ownership, or Chown user:group filename to set both user and group.",{"name":116,"@type":107,"acceptedAnswer":117},"Which commands are listed for VI editing and inserting text?",{"text":118,"@type":110},"Use i to insert at the cursor, a to write after the cursor, A to write at the end of the line, and ESC to terminate insert mode. Deletion commands include dd for one line and 3dd for three lines, with dd/D/C for different deletion behaviors.","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},571399,1792015522,{"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":79,"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":73},7971461740909,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Linux Commands Cheat Sheet  \nBasic Linux Commands  \n\n| Command | Description |\n| --- | --- |\n| ls | Lists all files and directories in the present working directory |\n| ls-R | Lists files in sub-directories as well |\n| ls-a | Lists hidden files as well |\n| ls-al | Lists files and directories with detailed information like permissions,size, owner, etc. |\n| cd or cd ~ | Navigate to HOME directory |\n| cd .. | Move one level up |\n| cd | To change to a particular directory |\n| cd / | Move to the root directory |\n| cat > filename | Creates a new file |\n| cat filename | Displays the file content |\n| cat file1 file2 > file3 | Joins two files (file1, file2) and stores the output in a new file (file3) |\n| mv file \"new file path\" | Moves the files to the new location |\n| mv filename new_file_ name | Renames the file to a new filename |\n| sudo | Allows regular users to run programs with the security privileges of the superuser or root |\n| rm filename | Deletes a file |\n| man | Gives help information on a command |\n| history | Gives a list of all past commands typed in the current terminal session |\n| clear | Clears the terminal |\n| mkdir directoryname | Creates a new directory in the present working directory or a at the specified path |\n| rmdir | Deletes a directory |\n| mv | Renames a directory |\n| pr-x | Divides the file into x columns |\n| pr-h | Assigns a header to the file |\n\n[https://info.qa.com/thecyberpulse](https://info.qa.com/thecyberpulse)  \n\n| Command | Description |\n| --- | --- |\n| pr-n | Denotes the file with Line Numbers |\n| lp-nc , lpr c | Prints “c” copies of the File |\n|  lp-d lp-P | Specifies name of the printer |\n| apt-get | Command used to install and update packages |\n| \u003Cbr>mail -s 'subject'\u003Cbr>-c 'cc-address'\u003Cbr>-b 'bcc-address''to-address' | Command to send email |\n| \u003Cbr>mail -s \"Subject\"\u003Cbr>to-address \u003C Filename | Command to send email with attachment |\n\nFile Permission Commands  \n\n| Command | Description |\n| --- | --- |\n| ls-l | to show file type and access permission |\n| \u003Cbr>r | read permission |\n| \u003Cbr>w | write permission |\n| \u003Cbr>x | execute permission |\n| \u003Cbr>- = | no permission |\n| \u003Cbr>Chown user | For changing the ownership of a file/directory |\n| Chown user:group filename | change the user as well as group for a file or directory |\n| Environment Variables Commands |  |\n\nCommand  \nDescription  \n\n| echo $VARIABLE | To display value of a variable |\n| --- | --- |\n| \u003Cbr>env | Displays all environment variables |\n| VARIABLE_NAME= variable_value | Create a new variable |\n| \u003Cbr>Unset | Remove a variable |\n| \u003Cbr>export Variable=value | To set value of an environment variable |\n\n[https://info.qa.com/thecyberpulse](https://info.qa.com/thecyberpulse)  \nUser Management Commands  \n\n| Command | Description |\n| --- | --- |\n| sudo adduser username | To add a new user |\n| sudo passwd-l 'username' | To change the password of a user |\n| sudo userdel -r 'username' | To remove a newly created user |\n| sudo usermod-a-G GROUPNAME USERNAME | To add a user to a group |\n| sudo deluser USER GROUPNAME | To remove a user from a group |\n| finger | Shows information of all the users logged in |\n| finger username | Gives information of a particular user |\n\nNetworking Commands  \n\n| Command | Description |\n| --- | --- |\n| SSH username@ip-address or hostname | login into a remote Linux machine using SSH |\n| Ping hostname=\"\" or =\"\" | To ping and Analyzing network and host connections |\n| dir | Display files in the current directory of a remote computer |\n| cd \"dirname\" | change directory to “dirname” on a remote computer |\n| put file | upload ‘file’ from local to remote computer |\n| get file | Download ‘file’ from remote to local computer |\n| quit | Logout |\n| Process Commands\u003Cbr>Command Description\u003Cbr>bg To send a process to the background fg To run a stopped process in the foreground top Details on all Active Processes \u003Cbr>ps Give the status of processes running for a user \u003Cbr>ps PID Gives the status of a particular process pidof Gives the Pr","cbCaikNirI05mHCO","https://ap.wps.com/l/cbCaikNirI05mHCO","pdf",109578,"English","# Basic Linux Commands\n## File and directory operations\n## Help, session, and terminal utilities\n# File Permissions Commands\n## Permission flags and ownership\n# Environment Variables Commands\n## Create, unset, export\n# User Management Commands\n## Add, modify, delete users\n# Networking Commands\n## SSH, ping, remote file transfer\n# Process Commands\n## Background/foreground and monitoring\n# VI Editing Commands\n## Insert, delete, replace, and edit actions","[{\"question\":\"What ls options are used to show hidden files and detailed information?\",\"answer\":\"Use -a to list hidden files and -al to list files and directories with detailed information such as permissions, size, and owner. ls-R lists files in sub-directories as well.\"},{\"question\":\"How do you manage file permissions and ownership in this cheat sheet?\",\"answer\":\"Permission flags are shown with r (read), w (write), x (execute), and - (no permission). Use Chown user to change ownership, or Chown user:group filename to set both user and group.\"},{\"question\":\"Which commands are listed for VI editing and inserting text?\",\"answer\":\"Use i to insert at the cursor, a to write after the cursor, A to write at the end of the line, and ESC to terminate insert mode. Deletion commands include dd for one line and 3dd for three lines, with dd/D/C for different deletion behaviors.\"}]","Linux Commands Cheat Sheet - Basic Linux Commands - Quick reference | PDF",1791915354]