[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-687562-105":59,"doc-detail-687562-en":134,"doc-similar-687562":153},{"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":127,"head_meta":129,"extra_data":131,"updated_unix":133},105,"en","basic-linux-terminal-commands-quick-introduction","BASIC LINUX TERMINAL COMMANDS - Quick Introduction","","A quick introduction to commonly used Linux Terminal commands and why learning them helps with project workflows, server-based processing, and reducing time spent on repetitive clicking. Covers core navigation and file management commands including pwd, cd, ls, cp, mv, rm, mkdir, and wildcard usage with *. Also explains permission changes with chmod using numeric modes, plus practical examples for launching Stata and Matlab and running batch/script files from the command line, including nohup for keeping programs running after logout, with a note about Stata-MP limitations.",{"@graph":69,"@context":126},[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/basic-linux-terminal-commands-quick-introduction/687562/",{"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/basic-linux-terminal-commands-quick-introduction/687562.png","ImageObject",300,407,{"name":92,"@type":93},"Aditya","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-11-07",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118,122],{"name":109,"@type":110,"acceptedAnswer":111},"Why should you learn basic terminal navigation and command-line workflows?","Question",{"text":112,"@type":113},"The document explains that terminals help when processes overwhelm your local machine, letting you run tasks on servers, and reduce repetitive clicking by using scripts. It also notes that relevant software and resources are commonly available on the server.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How do you find the current directory and move between directories?",{"text":117,"@type":113},"Use pwd to display the present working directory. Use cd to change directories, with cd directory_path and the ability to use ../ to move up one directory.",{"name":119,"@type":110,"acceptedAnswer":120},"What do chmod numeric values mean for file permissions?",{"text":121,"@type":113},"chmod nnn filename uses three numbers for user, group, and overall permissions. It maps 4=read, 2=write, 1=execute, so 7=4+2+1 grants all three to the user (and chmod 700 limits access for others).",{"name":123,"@type":110,"acceptedAnswer":124},"How can you run Stata or Matlab from the command line and keep jobs running after logout?",{"text":125,"@type":113},"Open Stata with xstata & and Matlab with matlab &. Run a Stata .do in batch mode using stata -b do filename.do (which creates a .log). Run a Matlab .m file using matlab options with input redirection \u003C filename.m and output redirection > output_filename.txt, and use nohup to keep the program running after logout (with a note that nohup cannot be used for Stata-MP).","https://schema.org",{"og:url":83,"og:type":128,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":130,"canonical":83},"index,follow",{"doc_id":132,"site_id":62},687562,1794084146,{"code":4,"msg":5,"data":135},{"doc_id":132,"user_id":136,"nickname":92,"user_avatar":137,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":138,"file_id":139,"file_url":140,"file_type":141,"file_size":142,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":44,"language":143,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":144,"faqs":145,"seo_title":146,"seo_description":67,"update_tm":133,"read_time":147,"preview_page_count":8,"preview_urls":148},962085564549,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","BASIC LINUX TERMINAL COMMANDS  \nThis little handout is just a quick introduction to basic commands in the Terminal that should get you going to use it on your own for your projects.  \nWhy should I learn how to navigate the terminal?  \n- In empirical work, you’re bound to run into a problem where your computer will not be able to handle a process. Let the server deal with it (or even multiple ones with parallel processing – see Daniel ’s presentation last year) .  \n- Running different processes at the same time could also bog your personal computer down. You can send all of them to the server and not worry about it.  \n- Projects can get really tiring with all that pointing and clicking especially when it involves multiple programs. You can write a shell script that does all that for you and keep things organized.  \n- Here and at most other places you’ll end up at, the most recent software and other goodies will be on the server.  \n- One more thing to write on your CV …  \n- Probably many more reasons so just try to at least be familiar with it.  \npwd  \npwd stands for present working directory. Once you log-in to the server you should be automatically located in your home eml directory.  \ncd  \ncd stands for change directory so you can start moving around directories. The syntax follows:  \ncd directory_path  \nYou also can use ../ as part of the directory path to move up a directory.  \nls  \nls will list out what’s under the directory your in. You can use the options-l and-lh to get more information. The first one will tell you the size of files in bytes while the second one gives it to you in human readable format. If it had a d in front ofit then this means it’s a directory.  \ncp  \ncp will allow you to copy files following the syntax:  \ncp filename new_filename directory_path  \nIf directory path is empty then it will copy the file to the present working directory. You don’t have to write a new filename if you’re coping the file another directory.  \nTo copy a whole directory you would follow the syntax (the-r here stands for recursively):  \ncp-r directory_path new_directory_path  \nmv  \nmv is the command to move files and also works to rename files when needed. Follows the syntax:  \nmv filename directory_path  \nor to change filename: mv filename new_filename  \nrm  \nrm will allow us to remove things so let’s delete a few things that we created following the syntax:  \nrm filename  \nand you can add the option-f so it doesn’t ask you that buggy question if you want to delete.  \nTo remove a directory you would add the option-r so it deletes recursively within the folder and the folder itself.  \nmkdir  \nmkdir allows us to make a new directory.  \n*  \nThe asterisk is not really a command but counts as the wildcard character in the terminal. Below are a couple of examples of how to use it. It can help list files that end with a certain extension or move an entire set of files. Basically you’re telling the terminal to fill in the command for any names permissible substituting anything for the asterisk.  \nBE VERY CAREFUL REMOVING THINGS WITH * . YOU COULD POTENTIALLY REMOVE A LOT OF THINGS. The good news is that the EML servers are backed up quite frequently so stuff can be restored but let’s try to avoid that.  \nchmod  \nchmod is used to change user access permissions. If you notice the first dashes in the front when you type in the ls-l command it will tell if you have r (reading), w (writing) and x (executing) permissions. The first three letters tell you what permissions you have, the second set of the three letters tells you what permission your group has and the last is overall permission access. You’ll sometimes have to edit these permissions to access your files or when writing a shell or python script.  \nThe syntax is:  \nchmod nnn filename  \nwhere nnn stands for three numbers each assigning permissions to the three levels mentioned above. 4 = read, 2 = write and 1 = execute. If you want to give yourself reading, writing and executing p","cbCaijJN2FVn4QqD","https://ap.wps.com/l/cbCaijJN2FVn4QqD","pdf",1004739,"English","# Basic navigation and listing\n## pwd, cd, ls\n# File and directory operations\n## cp, mv, rm, mkdir\n## Wildcards: *\n# Permissions\n## chmod and numeric modes\n# Running statistical/software tasks from the terminal\n## Opening Stata and Matlab\n## Running .do and .m files\n## Using nohup for background execution","[{\"question\":\"Why should you learn basic terminal navigation and command-line workflows?\",\"answer\":\"The document explains that terminals help when processes overwhelm your local machine, letting you run tasks on servers, and reduce repetitive clicking by using scripts. It also notes that relevant software and resources are commonly available on the server.\"},{\"question\":\"How do you find the current directory and move between directories?\",\"answer\":\"Use pwd to display the present working directory. Use cd to change directories, with cd directory_path and the ability to use ../ to move up one directory.\"},{\"question\":\"What do chmod numeric values mean for file permissions?\",\"answer\":\"chmod nnn filename uses three numbers for user, group, and overall permissions. It maps 4=read, 2=write, 1=execute, so 7=4+2+1 grants all three to the user (and chmod 700 limits access for others).\"},{\"question\":\"How can you run Stata or Matlab from the command line and keep jobs running after logout?\",\"answer\":\"Open Stata with xstata \\u0026 and Matlab with matlab \\u0026. Run a Stata .do in batch mode using stata -b do filename.do (which creates a .log). Run a Matlab .m file using matlab options with input redirection \\u003c filename.m and output redirection \\u003e output_filename.txt, and use nohup to keep the program running after logout (with a note that nohup cannot be used for Stata-MP).\"}]","BASIC LINUX TERMINAL COMMANDS - Quick Introduction | PDF",23,[149],{"page_no":8,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/1489e4a2d2f735ab40748d3c500f8cab.webp",983,1272,{"list":154,"token":66},[155,161,167,173,179,185,192,199,206,213],{"doc_id":156,"doc_title":157,"file_type":141,"home_preview_img_url":158,"slug":159,"view_count":34,"category_name":30,"create_tm":160},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=1796111999&Signature=Oo2YHbsc01RGGaKVP7PZNoj%2FYtM%3D","an-introduction-to-unix-michaelmas-2006-basic-unix",1795032115,{"doc_id":162,"doc_title":163,"file_type":141,"home_preview_img_url":164,"slug":165,"view_count":52,"category_name":30,"create_tm":166},671803,"Linux Tutorial - Version 1.21 - Learn Linux command basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988776479/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=ZoSvdKjkSQuB0cYar96e%2FvKBGhw%3D","linux-tutorial-version-121-learn-linux-command-basics",1793580864,{"doc_id":168,"doc_title":169,"file_type":141,"home_preview_img_url":170,"slug":171,"view_count":81,"category_name":30,"create_tm":172},687680,"Campus Network Design and Security Workshop - A few Linux basics - Ubuntu Linux 14.04 LTS 32-bit","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000649992/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=yDACIqhMeABMlal9B11E0Q2BJRc%3D","campus-network-design-and-security-workshop-a-few-linux-basics-ubuntu-linux-1404-lts-32-bit",1794084504,{"doc_id":174,"doc_title":175,"file_type":141,"home_preview_img_url":176,"slug":177,"view_count":8,"category_name":30,"create_tm":178},760308,"Table of Useful R commands","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044228940/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=j9yq5n%2FoOIE5jkaNhgPGBi36SH8%3D","table-of-useful-r-commands",1795899489,{"doc_id":180,"doc_title":181,"file_type":141,"home_preview_img_url":182,"slug":183,"view_count":29,"category_name":30,"create_tm":184},687564,"Introduction to Terminal - Computing in Optimization and Statistics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262463/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=aONzqHrtAuemM9GGFoqLMNG0ujU%3D","introduction-to-terminal-computing-in-optimization-and-statistics",1794084152,{"doc_id":186,"doc_title":187,"file_type":141,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":30,"create_tm":191},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=IsjQE1Wfge2RQ0HOBgUvCamXdK4%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",913,1785472614,{"doc_id":193,"doc_title":194,"file_type":141,"home_preview_img_url":195,"slug":196,"view_count":197,"category_name":30,"create_tm":198},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=2KP8MxIgWiA%2FGLyvfrU7Y2qcsFU%3D","xnx-universal-transmitter-installation-manual",855,1776135954,{"doc_id":200,"doc_title":201,"file_type":141,"home_preview_img_url":202,"slug":203,"view_count":204,"category_name":30,"create_tm":205},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=eCUky7tEkQThHnvITUZPBIFqcl0%3D","the-candlestick-trading-bible-trading-guide",804,1789767270,{"doc_id":207,"doc_title":208,"file_type":141,"home_preview_img_url":209,"slug":210,"view_count":211,"category_name":30,"create_tm":212},176,"Free Fire Proxy Server","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693709822/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=XDehW%2FiYcuhBa%2BEzOCyDA%2B97zuM%3D","free-fire-proxy-server",565,1776135932,{"doc_id":214,"doc_title":215,"file_type":141,"home_preview_img_url":216,"slug":217,"view_count":218,"category_name":30,"create_tm":219},129220,"Operations and Supply Chain Management - Eleventh Edition - Dedicated to students and faculty","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840674154/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=1b1Vd%2F4LUhW7hCfuAbUCBNqOOW4%3D","operations-and-supply-chain-management-eleventh-edition-dedicated-to-students-and-faculty",498,1786012506]