[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571636-105":53,"doc-detail-571636-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-cheat-sheet","Linux Command Line - Cheat Sheet","","This Linux Command Line Cheat Sheet serves as a comprehensive quick-reference guide for essential terminal operations. It organizes fundamental commands into logical categories including directory navigation, file listing, file and folder manipulation, and advanced file searching. Additionally, the document provides useful miscellaneous utilities for terminal management, disk usage analysis, and critical Bash terminal keyboard shortcuts to improve workflow efficiency. Designed for users ranging from beginners to system administrators, this guide simplifies daily command-line interactions by providing concise syntax examples for common tasks like creating, moving, deleting, and searching for files within a Linux environment.",{"@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-cheat-sheet/571636/",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-cheat-sheet/571636.png","ImageObject",442,249,{"name":88,"@type":89},"404brain","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",8,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"How do I copy a directory in Linux?","Question",{"text":109,"@type":110},"You can copy a directory by using the command 'cp -r dir1 dir2', where dir1 is the source directory and dir2 is the destination.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"What is the command to forcefully remove a directory?",{"text":114,"@type":110},"To force remove a directory and its contents, use the command 'rm -rf dir'.",{"name":116,"@type":107,"acceptedAnswer":117},"How can I search for a specific string inside files recursively?",{"text":118,"@type":110},"You can use the 'grep -r \"text\"' command to recursively search through files for a specific word or phrase.","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},571636,1792085812,{"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":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},1099529839291,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Linux Command Line Cheat Sheet  \n\n| Directory navigation |\n| --- |\n| cd dir – change directory |\n| cd or cd ~ – change to home |\n| pwd – show current directory |\n| hpc – data processing cluster terminal |\n\n\n| List files and directories |\n| --- |\n| ls-l – list files and directories |\n| more file – list content of file |\n| tree – list directory hierarchy |\n| cat file – list content of file |\n| nano-w file – edit file with nano |\n\n\n| File and folder manipulations |\n| --- |\n| touch file – create or update file |\n| cat > file – create file |\n| mkdir dir – create a directory |\n| cp file1 file2 – copy file1 to file2 |\n| cp-r dir1 dir2 – copy dir1 to dir2; |\n| rm file – delete file |\n| rm-r dir – delete directory |\n| rm-f file – force remove file |\n| rm-rfdir – force remove directory |\n| mv file1 file2 – rename/move file1 to file2 |\n\n\n| Search files and folders |  |\n| --- | --- |\n| find- ./data -name report.txt – search folder \"data\" for file with name report.txt |  |\n| find- ./ -iname \"*report*\" – search current folder for a file name containing \"report\" |  |\n| find ./ -empty – find empty files and folders |  |\n| grep -r \"text\" – recursively search files for word \"text\" |  |\n| grep \"completeness\" report.txt – search for word \"completeness\" in file |  |\n|  |  |\n| \u003Cbr>Misc. commands\u003Cbr>clear – remove all terminal entries | Bash Terminal Shortcuts |\n|  | Ctrl+C – stop current command |\n| reset – resets current terminal | Ctrl+R – search history |\n| \u003Cbr>du-sh * – list size of files and folders | Ctrl+Shift+C – Copy |\n| df-h – list disk usage statistics | Ctrl+Shift+V – Paste |\n| \u003Cbr>apropos – shell version of \"Google\" | TAB-autocomplete terminal entry |","cbCailnyN8COSakn","https://ap.wps.com/l/cbCailnyN8COSakn","pdf",58379,"English","# Directory Navigation\n# List files and directories\n# File and folder manipulations\n# Search files and folders\n# Misc. commands\n# Bash Terminal Shortcuts","[{\"question\":\"How do I copy a directory in Linux?\",\"answer\":\"You can copy a directory by using the command 'cp -r dir1 dir2', where dir1 is the source directory and dir2 is the destination.\"},{\"question\":\"What is the command to forcefully remove a directory?\",\"answer\":\"To force remove a directory and its contents, use the command 'rm -rf dir'.\"},{\"question\":\"How can I search for a specific string inside files recursively?\",\"answer\":\"You can use the 'grep -r \\\"text\\\"' command to recursively search through files for a specific word or phrase.\"}]","Linux Command Line - Cheat Sheet | PDF",1791922847]