[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571657-105":53,"doc-detail-571657-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-bash-shell-cheat-sheet-basic-commands-terminal-shortcuts-file-manipulation-search-time-settings","Linux Bash Shell - Cheat Sheet - Basic Commands - Terminal Shortcuts - File Manipulation - Search - Time Settings","","Linux Bash Shell Cheat Sheet compiles commonly used terminal and scripting commands for everyday work on most distributions. It covers keyboard shortcuts, navigation and listing files, core file operations (copy, move, remove, links, create/update), and essential text research tools like grep with options and regular expressions plus sort and wc. It also includes powerful file discovery with locate and find, data extraction workflows, and scheduling with date, crontab, and at.",{"@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-bash-shell-cheat-sheet-basic-commands-terminal-shortcuts-file-manipulation-search-time-settings/571657/",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-bash-shell-cheat-sheet-basic-commands-terminal-shortcuts-file-manipulation-search-time-settings/571657.png","ImageObject",442,249,{"name":88,"@type":89},"WPS_1790064749","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",6,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"How do terminal shortcuts help during Bash work?","Question",{"text":109,"@type":110},"The sheet lists shortcuts like CTRL L to clear, CTRL A/E to jump to the start/end of a line, CTRL U/K to delete by cursor direction, and TAB for auto-completion. It also includes CTRL R for reverse search of command history and CTRL Z to stop a running command.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"Which commands are used to list files and navigate directories?",{"text":114,"@type":110},"Use ls with options such as -a, -l, -lh, and pattern matching like *.jpg. Navigate with cd, including cd / for root, cd .. to go up one folder, and quoting for folder names containing spaces.",{"name":116,"@type":107,"acceptedAnswer":117},"How can I search for text inside files and filter results?",{"text":118,"@type":110},"Use grep \u003CsomeText> \u003CfileName> with options like -i for case-insensitive and -r to search within directories. It also provides grep -E examples for regular expressions, then suggests sort for ordering and wc for word/line/byte counts.","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},571657,1792359909,{"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":136,"language":137,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":138,"faqs":139,"seo_title":140,"seo_description":61,"update_tm":141,"read_time":76},3985747859154,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","[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","cbCairUoQRfJvXGf","https://ap.wps.com/l/cbCairUoQRfJvXGf","pdf",107375,7,"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\n# Time settings\n## crontab and at","[{\"question\":\"How do terminal shortcuts help during Bash work?\",\"answer\":\"The sheet lists shortcuts like CTRL L to clear, CTRL A/E to jump to the start/end of a line, CTRL U/K to delete by cursor direction, and TAB for auto-completion. It also includes CTRL R for reverse search of command history and CTRL Z to stop a running command.\"},{\"question\":\"Which commands are used to list files and navigate directories?\",\"answer\":\"Use ls with options such as -a, -l, -lh, and pattern matching like *.jpg. Navigate with cd, including cd / for root, cd .. to go up one folder, and quoting for folder names containing spaces.\"},{\"question\":\"How can I search for text inside files and filter results?\",\"answer\":\"Use grep \\u003csomeText\\u003e \\u003cfileName\\u003e with options like -i for case-insensitive and -r to search within directories. It also provides grep -E examples for regular expressions, then suggests sort for ordering and wc for word/line/byte counts.\"}]","Linux Bash Shell - Cheat Sheet - Basic Commands - Terminal Shortcuts - File Manipulation - Search - Time Settings | PDF",1791923008]