[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-646204-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-646204-en":130,"doc-similar-646204":153},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","unixlinux-command-reference-read-online-free","Unix/Linux Command Reference - read online free","","Unix/Linux Command Reference compiles practical command-line workflows for daily administration tasks, including file handling, directory navigation, symbolic links, and common editing via standard input/output redirection. It also covers process monitoring and control, user and system information retrieval, compression and extraction with tar/gzip/bzip2, and essential network utilities like ping, whois, and dig. Command shortcuts and SSH key setup are included for efficient, safer operation.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/unixlinux-command-reference-read-online-free/646204/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/unixlinux-command-reference-read-online-free/646204.png","ImageObject",300,407,{"name":42,"@type":43},"Indoniesian Boy","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-25","2026-10-23",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"How do you navigate and check the current directory in Unix/Linux?","Question",{"text":63,"@type":64},"Use `cd dir` to change directories and `cd` to go to the home directory. Use `pwd` to show the current directory.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What commands are used to manage files and permissions?",{"text":68,"@type":64},"Use `ls`, `mkdir`, `rm`, `cp`, and `mv` for file and directory operations. Use `chmod` with octal values and the `r/w/x` mapping (4/2/1) to change permissions.",{"name":70,"@type":61,"acceptedAnswer":71},"How can you monitor and control running processes?",{"text":72,"@type":64},"Use `ps` to display active processes and `top` to view running processes. Use `kill pid`, `killall proc*`, `bg`/`fg`, or `fg n` to resume jobs in the background or bring them to the foreground.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},646204,1793052300,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":26,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":97,"preview_page_count":26,"preview_urls":144},962090760608,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","FOSSwirecom  \nUnix/Linux Command Reference  \n\n| File Commands  \u003Cbr>ls-directory listing  \u003Cbr>Ls -al-formatted listing with hidden files  \u003Cbr>cd dir-change directory to dir  \u003Cbr>cd-change to home  \u003Cbr>pwd -show current directory  \u003Cbr>mkdir dir-create a directory dir  \u003Cbr>rm file-delete file  \u003Cbr>rm -r dir-delete directory dir  \u003Cbr>rm-f file-force remove file  \u003Cbr>rm -rf dir-force remove directory dir*  \u003Cbr>cp filel file2-copy file1 to file2  \u003Cbr>cp -r dir1 dir2-copy dir1 to dir2;create dir2 if it  \u003Cbr>doesn't exist  \u003Cbr>mv file1 file2-rename or move file1 to file2  \u003Cbr>if file2 is an existing directory,moves file1 into  \u003Cbr>directory file2  \u003Cbr>Ln -s file link-create symbolic link link to file  \u003Cbr>touch file-create or update file  \u003Cbr>cat >file-places standard input into file  \u003Cbr>more file-output the contents of file  \u003Cbr>head file-output the first 10 lines of file  \u003Cbr>tail file-output the last 10 lines of file  \u003Cbr>tail -f file-output the contents of file as it  \u003Cbr>grows,starting with the last 10 lines  \u003Cbr>Process Management  \u003Cbr>ps -display your currently active processes  \u003Cbr>top-display all running processes  \u003Cbr>kill pid-kill process id pid  \u003Cbr>killall proc -kill all processes named proc*  \u003Cbr>bg-lists stopped or background jobs;resume a  \u003Cbr>stopped job in the background  \u003Cbr>fg-brings the most recentjob to foreground  \u003Cbr>fg n-brings job n to the foreground  \u003Cbr>File Permissions  \u003Cbr>chmod octal file-change the permissions of file  \u003Cbr>to octal,which can be found separately for user,  \u003Cbr>group,and world by adding:  \u003Cbr>● 4-read(r)  \u003Cbr>● 2-write(w)  \u003Cbr>● 1-execute(x)  \u003Cbr>Examples:  \u003Cbr>chmod 777-read,write,execute for all  \u003Cbr>chmod 755-rwx for owner,rx for group and world  \u003Cbr>For more options,see man chmod.   | System Info  \u003Cbr>date -show the current date and time  \u003Cbr>cal-show this month's calendar  \u003Cbr>uptime-show current uptime  \u003Cbr>w-display who is online  \u003Cbr>whoami-who you are logged in as  \u003Cbr>finger user-display information about user  \u003Cbr>uname -a-show kernel information  \u003Cbr>cat /proc/cpuinfo-cpu information  \u003Cbr>cat /proc/meminfo-memory information  \u003Cbr>man command-show the manual for command  \u003Cbr>df-show disk usage  \u003Cbr>du-show directory space usage  \u003Cbr>free-show memory and swap usage  \u003Cbr>whereis app-show possible locations of app  \u003Cbr>which app-show which app will be run by default  \u003Cbr>Compression  \u003Cbr>tar cf file,tar files -create a tar named  \u003Cbr>file.tar containing files  \u003Cbr>tar xf file.tar-extract the files from file.tar  \u003Cbr>tar czf file.tar.gz files -create a tar with  \u003Cbr>Gzip compression  \u003Cbr>tar xzf file.tar.gz-extract a tar using Gzip  \u003Cbr>tar cjf file.tar.bz2-create a tar with Bzip2  \u003Cbr>compression  \u003Cbr>tar xjf file.tar.bz2-extract a tar using Bzip2  \u003Cbr>gzip file-compresses file and renames it to  \u003Cbr>file.gz  \u003Cbr>gzip -d file.gz-decompresses file.gz back to  \u003Cbr>file  \u003Cbr>Network  \u003Cbr>ping host-ping host and output results  \u003Cbr>whois domain-get whois information for domain  \u003Cbr>dig domain-get DNS information for domain  \u003Cbr>dig -x host-reverse lookup host  \u003Cbr>wget file-download file  \u003Cbr>wget -c file-continue a stopped download  \u003Cbr>Installation  \u003Cbr>Install from source:  \u003Cbr>./configure  \u003Cbr>make  \u003Cbr>make install  \u003Cbr>dpkg -i pkg.deb-install a package(Debian)  \u003Cbr>rpm -Uvh pkg.rpm-install a package(RPM)  \u003Cbr>Shortcuts  \u003Cbr>Ctrl+C-halts the current command  \u003Cbr>Ctrl+Z-stops the current command,resume with  \u003Cbr>fg in the foreground or bg in the background  \u003Cbr>Ctrl+D-log out of current session,similar to exit  \u003Cbr>Ctrl+W-erases one word in the current line  \u003Cbr>Ctrl+U-erases the whole line  \u003Cbr>Ctrl+R-type to bring up a recent command  \u003Cbr>!!-repeats the last command  \u003Cbr>exit-log out of current session  \u003Cbr>*use with extreme caution.   |\n| --- | --- |\n| SSH  \u003Cbr>ssh userchost-connect to host as user  \u003Cbr>ssh-p port userchost-connect to host on port  \u003Cbr>port as user  \u003Cbr>ssh-copy-id userchost-add your key to host for  \u003Cbr>user to enable a keyed or passwordless login  \u003Cbr>Search","cbCaihxuC6N4OX9B","https://ap.wps.com/l/cbCaihxuC6N4OX9B","pdf",1115252,"English","# File Commands\n## Process Management\n## File Permissions\n## System Info\n## Compression\n## Network\n## Installation\n## Shortcuts\n## SSH\n## Searching","[{\"question\":\"How do you navigate and check the current directory in Unix/Linux?\",\"answer\":\"Use `cd dir` to change directories and `cd` to go to the home directory. Use `pwd` to show the current directory.\"},{\"question\":\"What commands are used to manage files and permissions?\",\"answer\":\"Use `ls`, `mkdir`, `rm`, `cp`, and `mv` for file and directory operations. Use `chmod` with octal values and the `r/w/x` mapping (4/2/1) to change permissions.\"},{\"question\":\"How can you monitor and control running processes?\",\"answer\":\"Use `ps` to display active processes and `top` to view running processes. Use `kill pid`, `killall proc*`, `bg`/`fg`, or `fg n` to resume jobs in the background or bring them to the foreground.\"}]","Unix/Linux Command Reference - read online free | PDF",1792753398,[145,149],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ceba74e92f4b39c982aaff9361b20a34.webp",983,1268,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/21f6dc6daba0e59d5679999bebbfe951.webp",982,1275,{"list":154,"token":11},[155,161,167,173,179,185,192,198,204,211],{"doc_id":156,"doc_title":157,"file_type":137,"home_preview_img_url":158,"slug":159,"view_count":102,"category_name":29,"create_tm":160},686589,"Useful Commands for Linux, Yocto & Git - Shortcuts and tricks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000539861/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=ZkAdW2o4PMs8EllcbrHGUGwMl0o%3D","useful-commands-for-linux-yocto-git-shortcuts-and-tricks",1794057231,{"doc_id":162,"doc_title":163,"file_type":137,"home_preview_img_url":164,"slug":165,"view_count":97,"category_name":29,"create_tm":166},687610,"02-cmd_line - Command Line Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000649616/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=rIZPKvkeSOVLrqkWINiB7eZ5Nfw%3D","02-cmd_line-command-line-introduction",1794084278,{"doc_id":168,"doc_title":169,"file_type":137,"home_preview_img_url":170,"slug":171,"view_count":33,"category_name":29,"create_tm":172},699572,"An Introduction to the Linux Command Shell - For Beginners - A GNU Free Documentation License Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011312375/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=xFQGfIbfflI%2FTfLpNfA%2BtreZbBY%3D","an-introduction-to-the-linux-command-shell-for-beginners-a-gnu-free-documentation-license-manual",1794479414,{"doc_id":174,"doc_title":175,"file_type":137,"home_preview_img_url":176,"slug":177,"view_count":30,"category_name":29,"create_tm":178},687568,"Take Control of the Mac Command Line with Terminal - v3.3 - Updates and More","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000649503/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=12rQmljPPvAB1tyeznqhxhgMs78%3D","take-control-of-the-mac-command-line-with-terminal-v33-updates-and-more",1794084159,{"doc_id":180,"doc_title":181,"file_type":137,"home_preview_img_url":182,"slug":183,"view_count":55,"category_name":29,"create_tm":184},719798,"An Introduction to UNIX - Michaelmas 2006 - Basic UNIX","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023662331/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=tSB%2FWbyz9JAQSpPjX61d6FjYou4%3D","an-introduction-to-unix-michaelmas-2006-basic-unix",1795032115,{"doc_id":186,"doc_title":187,"file_type":137,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":29,"create_tm":191},686346,"Intro2LinuxMFF lesson1 - Introduction to the Linux OS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000739120/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=gLW5NuZlvhtJpOlQVIPYFUq3gHI%3D","intro2linuxmff-lesson1-introduction-to-the-linux-os",11,1794037851,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":30,"category_name":29,"create_tm":197},689178,"Linux Command Reference - Shell Commands from A to Z","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001529956/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=ZpX%2BfKKbuQiCqw7wapgSessbeE8%3D","linux-command-reference-shell-commands-from-a-to-z",1794098414,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":33,"category_name":29,"create_tm":203},689174,"Introduction to Linux for IMS students","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000683042/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=5JX%2BQV3DnOs5j3RjdMvK20b4VHw%3D","introduction-to-linux-for-ims-students",1794098404,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},289887,"Command Line Scanner for LINUX - Product Guide - Version 7","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903020766/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=Jr0EDMYwgRM3tOY07bbkBWbiz2Y%3D","command-line-scanner-for-linux-product-guide-version-7",18,1789638242,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":30,"category_name":29,"create_tm":216},689514,"Beginning Shell Scripting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001332523/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=ciyLuo4Xc9dQAML9fuYdwGIWZYE%3D","beginning-shell-scripting",1794112221]