[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-699570-105":59,"doc-detail-699570-en":130,"doc-similar-699570":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","linux-bash-shell-cheat-sheet","Linux Bash Shell - Cheat Sheet","","Linux Bash Shell Cheat Sheet 汇总常用终端命令与高频操作要点，涵盖终端快捷键、基础导航、文件/目录创建与管理、压缩与内容查看、文件搜索与定位、文本检索与过滤（grep/正则）、排序与统计（sort/wc/cut）、以及日期时间设置与任务调度（date、at、crontab、sleep）。内容以示例语句形式提供占位符说明，便于快速记忆并直接在不同发行版的 Bash 环境中应用命令行工作流。",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/linux-bash-shell-cheat-sheet/699570/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/linux-bash-shell-cheat-sheet/699570.png","ImageObject",300,407,{"name":92,"@type":93},"Ophelia","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-24","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"哪些快捷键常用于 Bash 终端编辑与操作？","Question",{"text":112,"@type":113},"常见包括 CTRL L 清屏、CTRL A/CTRL E 跳到行首/行尾、CTRL U/K 删除光标左侧/右侧内容、CTRL W 删除左侧单词、CTRL Y 粘贴，以及 TAB 自动补全、CTRL R 反向搜索历史、CTRL Z 暂停当前命令。","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"如何在 Linux 中快速搜索文件内容或定位文件？",{"text":117,"@type":113},"可以使用 locate 查找文件内容或文件名，并先用 sudo updatedb 更新索引；更通用也更强的是 find，它可按名称、类型（文件/目录）与条件（如大小、访问时间）进行高级检索，并可用 man find/locate 查看用法。",{"name":119,"@type":110,"acceptedAnswer":120},"如何设置时间并使用 at 或 crontab 执行定时任务？",{"text":121,"@type":113},"date 用于查看与修改系统时间；at 可在未来某个时间或延迟后执行任务，按步骤输入命令并用 CTRL D 结束；crontab 用于定期执行，使用 crontab -e/-l/-r 管理，并按分钟、小时、日期、星期与命令的语法填写计划。","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},699570,1794479402,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":34,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":19,"preview_urls":144},7971461741311,"https://ap-avatar.wpscdn.com/avatar/74000253aff267980c6?x-image-process=image/resize,m_fixed,w_180,h_180&k=1779345379180704826","[freeworld.posterous.com](freeworld.posterous.com)  \nLinux Bash Shell  \nCheat Sheet  \n(works with about every distribution, except for apt-get which is Ubuntu/Debian exclusive)  \nLegend:  \nEverything in “\u003C>” is to be replaced, ex: \u003CfileName> - - > iLovePeanuts .txt Don't include the '=' in your commands  \n' . . ' means that more than one file can be affected with only one command ex: rm file.txt file2.txt movie .mov .. ..  \nLinux Bash Shell Cheat Sheet  \nBasic Commands  \nBasic Terminal Shortcuts  \nCTRL L = Clear the terminal CTRL D = Logout  \nSHIFT Page Up/Down = Go up/down the terminal  \nCTRL A = Cursor to start of line CTRL E = Cursor the end of line CTRL U = Delete left of the cursor CTRL K = Delete right of the cursor CTRL W = Delete word on the left CTRL Y = Paste (after CTRL U,K or W)  \nTAB = auto completion of file or command CTRL R = reverse search history!! = repeat last command  \nCTRL Z = stops the current command (resume with fg in foreground or bg in background) Basic Terminal Navigation  \nls -a = list all files and folders ls \u003CfolderName> = list files in folder ls -lh = Detailed list, Human readable ls -l *.jpg = list jpeg files only ls -lh \u003CfileName> = Result for file only  \ncd \u003CfolderName> = change directory  \nif folder name has spaces use “ “cd / = go to root  \ncd .. = go up one folder, tip: . ./ . ./ . ./  \ndu -h: Disk usage of folders, human readable  \ndu -ah: “ “ “ files & folders, Human readable  \ndu -sh: only show disc usage of folders pwd = print working directory man \u003Ccommand> = shows manual (RTFM)  \nBasic file manipulation  \ncat \u003CfileName> = show content of file  \n(less, more) head = from the top  \n-n \u003C\\#oflines> \u003CfileName>  \ntail = from the bottom  \n-n \u003C\\#oflines> \u003CfileName>  \nmkdir = create new folder mkdir myStuff ..  \nmkdir myStuff/pictures/ ..  \ncp image.jpg newimage.jpg = copy and rename a file cp image.jpg \u003CfolderName>/ = copy to folder cp image.jpg folder/sameImageNewName.jpg  \ncp -R stuff otherStuff = copy and rename a folder cp *.txt stuff/ = copy all of *\u003Cfile type> to folder  \nmv file.txt Documents/ = move file to a folder mv \u003CfolderName> \u003CfolderName2> = move folder in folder mv filename.txt filename2 .txt = rename file mv \u003CfileName> stuff/newfileName  \nmv \u003CfolderName>/ .. = move folder up in hierarchy rm \u003CfileName> .. = delete file (s)  \nrm -i \u003CfileName> .. = ask for confirmation each file rm -f \u003CfileName> = force deletion of a file  \nrm -r \u003Cfoldername>/ = delete folder  \ntouch \u003CfileName> = create or update a file  \nln file1 file2 = physical link ln -s file1 file2 = symbolic link  \nLinux Bash Shell Cheat Sheet  \nBasic Commands  \nResearching Files  \nThe slow method (sometimes very slow):  \nlocate \u003Ctext> = search the content of all the files locate \u003CfileName> = search for a file  \nsudo updatedb = update database of files  \nfind = the best file search tool (fast)  \nfind -name “\u003CfileName>”  \nfind -name “text” = search for files who start with the word text find -name “*text” = “ “ “ “ end “ “ “ “  \nAdvanced Search:  \nSearch from file Size (in ~)  \nfind ~ -size +10M = search files bigger than. . (M,K,G)  \nSearch from last access  \nfind -name “\u003Cfiletype>” -atime -5  \n('- ' = less than, '+' = more than and nothing = exactly)  \nSearch only files or directory’s  \nfind -type d - - > ex: find /var/log -name \"syslog\" -type d find -type f = files  \nMore info: man find, man locate  \nExtract, sort and filter data  \ngrep \u003CsomeText> \u003CfileName> = search for text in file  \n-i = Doesn't consider uppercase words  \n-I = exclude binary files  \ngrep -r \u003Ctext> \u003CfolderName>/ = search for file names  \nwith occurrence of the text With regular expressions:  \ngrep -E ^\u003Ctext> \u003CfileName> = search start of lines with the word text  \ngrep -E \u003C0-4> \u003CfileName> =shows lines containing numbers 0-4 grep -E \u003Ca-zA-Z> \u003CfileName> = retrieve all lines with alphabetical letters  \nsort = sort the content of files  \nsort \u003CfileName> = sort alphabetically  \nsort -o \u003Cfile> \u003CoutputFile> = write result to a file sort -r \u003CfileName> = sort in ","cbCaikO5iF1B2sNG","https://ap.wps.com/l/cbCaikO5iF1B2sNG","pdf",273577,"English","# Basic Commands\n## Basic Terminal Shortcuts\n## Basic Terminal Navigation\n## Basic file manipulation\n# Researching Files\n## locate and find\n## grep, sort, wc, cut\n# Time settings\n## date\n## at\n## crontab","[{\"question\":\"哪些快捷键常用于 Bash 终端编辑与操作？\",\"answer\":\"常见包括 CTRL L 清屏、CTRL A/CTRL E 跳到行首/行尾、CTRL U/K 删除光标左侧/右侧内容、CTRL W 删除左侧单词、CTRL Y 粘贴，以及 TAB 自动补全、CTRL R 反向搜索历史、CTRL Z 暂停当前命令。\"},{\"question\":\"如何在 Linux 中快速搜索文件内容或定位文件？\",\"answer\":\"可以使用 locate 查找文件内容或文件名，并先用 sudo updatedb 更新索引；更通用也更强的是 find，它可按名称、类型（文件/目录）与条件（如大小、访问时间）进行高级检索，并可用 man find/locate 查看用法。\"},{\"question\":\"如何设置时间并使用 at 或 crontab 执行定时任务？\",\"answer\":\"date 用于查看与修改系统时间；at 可在未来某个时间或延迟后执行任务，按步骤输入命令并用 CTRL D 结束；crontab 用于定期执行，使用 crontab -e/-l/-r 管理，并按分钟、小时、日期、星期与命令的语法填写计划。\"}]","Linux Bash Shell - Cheat Sheet | PDF",18,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/af4c3245e853ad15c718b4a0817ac451.webp",983,759,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/0f3c41429ebcb9c685c9ab0e42351c76.webp",982,758,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/fe792b67ac1040e54b49f895610e74f5.webp",981,757,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/5f258f46c47527d82bef34bc51c18123.webp",980,756,{"list":162,"token":66},[163,169,175,181,188,194,201,207,213,219],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":34,"category_name":30,"create_tm":168},687696,"NVDA - Non-Visual Desktop Access - Keyboard Shortcuts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000650163/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112479&Signature=%2Fba5d%2Bi95vHRW5cDj7ggwjQAZGw%3D","nvda-non-visual-desktop-access-keyboard-shortcuts",1794084631,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":24,"category_name":30,"create_tm":174},721094,"FT232R USB UART IC - Overview & Driver Support","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024418970/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112479&Signature=fhoUiftRbZDxx%2FveIh%2F8rhGz5d8%3D","ft232r-usb-uart-ic-overview-driver-support",1795041751,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":19,"category_name":30,"create_tm":180},688931,"CMF by Nothing Phone 2 Pro User Guide - Getting Started - Hardware Layout - Charging - Navigation - Launcher - Quick Settings / Notifications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000671516/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112479&Signature=0r8vJvfU9%2BvQTkjfhxh2xqzQeNA%3D","cmf-by-nothing-phone-2-pro-user-guide-getting-started-hardware-layout-charging-navigation-launcher-quick-settings-notifications",1794092935,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":186,"category_name":30,"create_tm":187},427762,"Vol.43 No.3 - The Leading Information Technology News Summary - Now In Its 43dYear - Security Focus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922425046/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112479&Signature=6bfNpgDddIs01ru4JGIe07BR4u4%3D","vol43-no3-the-leading-information-technology-news-summary-now-in-its-43dyear-security-focus",17,1790644758,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":24,"category_name":30,"create_tm":193},687736,"Adobe Lightroom 5 Mac Keyboard Shortcuts - Working with Catalogs - Import Photos and Video","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001264044/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112479&Signature=lcQ%2Fz1IG7FfvDHPhfkU%2BYR7lJbE%3D","adobe-lightroom-5-mac-keyboard-shortcuts-working-with-catalogs-import-photos-and-video",1794084841,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":199,"category_name":30,"create_tm":200},401859,"Tableau Prep帮助 - 版本当前","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229920153640/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112479&Signature=kd8lZTueHOU8eAVeQPgRrQbWbbY%3D","tableau-prep-help-current-version",16,1790524712,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":24,"category_name":30,"create_tm":206},687782,"NCC NEWS ADOBE PREMIERE PRO CS6 QUICK GUIDE - Editing File Management Checklist","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000650718/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112479&Signature=t2NtCdm6vjG0SXfqd%2FeAuz58JJw%3D","ncc-news-adobe-premiere-pro-cs6-quick-guide-editing-file-management-checklist",1794085015,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":34,"category_name":30,"create_tm":212},701167,"Spring Boot Reference Documentation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011580244/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112479&Signature=JLycFUGIoRtmAMT0xCcLOBHcSN8%3D","spring-boot-reference-documentation",1794523894,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":19,"category_name":30,"create_tm":218},720207,"ATMEGA328P-AU - Datasheet - Key Features","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024388152/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112479&Signature=IdZ0UvYgqofd0N7WwM47UawtBa0%3D","atmega328p-au-datasheet-key-features",1795035422,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":30,"create_tm":225},562801,"开关电源散热改进技术指导","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947833017/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112479&Signature=wdlQkMBsatWvxNBdDTE9l2il8Yk%3D","switching-power-supply-heat-dissipation-improvement-guide",13,1791809755]