[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571634-105":53,"doc-detail-571634-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-101-command-line-cheat-sheet","Linux 101 Command Line Cheat Sheet","","Linux 101 Command Line Cheat Sheet collects fundamental Linux/Unix command-line essentials for learners, focusing on everyday workflows in bash. It explains practical uses of cd, cat, echo, and ls, including common flags such as -l, -a, and time-based sorting. It also covers tab completion behavior and basic networking commands like ifconfig, ip a, ping, plus sudo for running commands as root, ending with a version reference for the cheat sheet.",{"@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-101-command-line-cheat-sheet/571634/",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-101-command-line-cheat-sheet/571634.png","ImageObject",442,249,{"name":88,"@type":89},"MrHarris58","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",6,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What does tab-completion help with in the Linux command line?","Question",{"text":109,"@type":110},"Tab-completion reduces typing and errors by completing paths and names automatically. It also helps handle ambiguity by offering multiple choices when you press TAB twice.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How do cat commands combine and create files in this cheat sheet?",{"text":114,"@type":110},"The cheat sheet shows displaying a file with cat, creating a new file by redirecting output (>) and appending using (>>). It also demonstrates concatenating two inputs into a new output file via redirection.",{"name":116,"@type":107,"acceptedAnswer":117},"Which networking and privilege-related commands are included?",{"text":118,"@type":110},"Networking coverage includes ifconfig, ip a, and ping with options for repeating and limiting attempts. Privilege escalation is covered through sudo, including running a single command as root or opening a root bash shell.","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},571634,1792014847,{"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":47,"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},687212988360,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Linux 101 Command Line Cheat Sheet  \nAbstract  \nFundamental Linux/Unix commands for the Linux/Unix command line learner. If you are experienced with Linux/Unix: you have probably mastered these commands. If not: you are in the right place.  \nNote: Some of the examples below presume files and paths that might not match your particular system and tool installation.  \nWhere to Acquire  \nThese tools are installed natively in most Unix/Linux distributions, as well as OS X. Examples/ Use Case  \n bash basics  \n cat  \n cd  \n echo  ls  \n networking  \n passwd  \n ping  pwd  \n sudo  \nbash basics  \nTab-completion:  \nFolks who are new to the Unix/Linux command line often attempt to type everything by hand. This may work well if you type quickly and accurately. Most of us are much better off using tab completion.  \nNote that Windows PowerShell also supports tab completion, but it handles ambiguity differently. See the PowerShell cheat sheet for more information.  \nType the following, and then press the \u003CTAB> key:  \n$ cat / etc /pas  \nThen press \u003CTAB> .  \nNote that it autocompletes to /etc/passwd. Now try tabbing with ambiguity:  \n$ cd ~/Do  \nThen press \u003CTAB>\u003CTAB> .  \nNote that it offers two choices: Documents/ Downloads/. Now add a \"w\" and press \u003CTAB>:  \n$ cd ~/Dow  \nPress \u003CTAB> . It autocompletes to ~/Downloads/. cat  \nDisplay a file:  \n$ cat example .txt  \nConcatenate (cat) FileA.txt and FileB.txt, create FileC.txt:  \n$ cat FileA .txt FileB .txt > FileC .txt  \ncd  \nChange Directory (cd) to the /tmp directory:  \n$ cd /tmp  \nChange to the home directory. The following commands are equivalent for the \"student \"user: \" ~ \" means home directory (for example: /home/student):  \n$ cd  \n\n| $ | cd | ~ |\n| --- | --- | --- |\n| $ | cd | /home/ student |\n| Change to the parent directory. For example: if you are in /tmp/subdirectory/, this will change your working directory to /tmp/: |  |  |\n| $ cd   |  |  |\n|  |  |  |\n| echo\u003Cbr>Print (echo) the string \"Cylon\": |  |  |\n| $ echo Cylon |  |  |\n| Create or overwrite the file example.txt, containing the string \"Cylon\": |  |  |\n| $ echo Cylon > example .txt |  |  |\n| Append the string \"Cylon\" to the file example.txt: |  |  |\n| $ echo Cylon >> example .txt |  |  |\n|  |  |  |\n| ls\u003Cbr>List the files in the current directory (equivalent to the cmd.exe \"dir \" command): |  |  |\n| $ ls |  |  |\n| List the files in the current directory, long output (-l), all files including \"hidden\" files that begin with a \". \" (-a): |  |  |\n| $ ls -la |  |  |\n| List the files in the current directory, long output (-l), all files (-a), sort by time (-t): |  |  |\n\n$ ls -lat  \nList the files in the current directory, long output (-l), all files (-a), reverse (-r) sort by time ( -t):  \n$ ls -lart  \n\n| networking\u003Cbr>Show network interface configuration: |\n| --- |\n| $ ifconfig |\n| Show network interface configuration using \"ip\": |\n| $ ip a |\n| Restart networking: |\n| $ sudo / etc /init .d/networking restart |\n|  |\n| passwd\u003Cbr>Change your password: |\n| $ passwd |\n|  |\n\nping  \nping a host forever (until CTRL-C is pressed), see if it is up (and unfiltered):  \n$ ping 10 .5 .11 .25  \nping a host 3 times, see if it is up (and unfiltered):  \n$ ping -c3 10 .5 .11 .25  \npwd  \nPrint Working Directory (pwd), show the current directory:  \n$ pwd  \nsudo  \nRun a command as root:  \n$ sudo command  \nOpen a root bash shell:  \n$ sudo bash  \nAdditional Info  \nA printable PDF version of this cheat sheet is available here:  \nLinuxCLI101  \nCheat Sheet Version  \nVersion 1.0","cbCaif1xTG2r55cm","https://ap.wps.com/l/cbCaif1xTG2r55cm","pdf",58277,"English","# bash basics\n## Tab-completion\n## cat\n## cd\n## echo\n## ls\n# networking\n## ifconfig and ip\n## ping\n## sudo\n## passwd","[{\"question\":\"What does tab-completion help with in the Linux command line?\",\"answer\":\"Tab-completion reduces typing and errors by completing paths and names automatically. It also helps handle ambiguity by offering multiple choices when you press TAB twice.\"},{\"question\":\"How do cat commands combine and create files in this cheat sheet?\",\"answer\":\"The cheat sheet shows displaying a file with cat, creating a new file by redirecting output (\\u003e) and appending using (\\u003e\\u003e). It also demonstrates concatenating two inputs into a new output file via redirection.\"},{\"question\":\"Which networking and privilege-related commands are included?\",\"answer\":\"Networking coverage includes ifconfig, ip a, and ping with options for repeating and limiting attempts. Privilege escalation is covered through sudo, including running a single command as root or opening a root bash shell.\"}]","Linux 101 Command Line Cheat Sheet | PDF",1791922841]