[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-572974-105":53,"doc-detail-572974-en":126},{"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":119,"head_meta":121,"extra_data":123,"updated_unix":125},105,"en","the-terminal-what-is-a-terminal-and-essential-command-line-basics","The Terminal - What is a Terminal and Essential Command-Line Basics","","Slides introducing terminals from a learning perspective, defining a terminal as a command-line interpreter that executes user-entered commands sequentially. Covers key differences between common terminal types, including bash in Linux and macOS, and clarifies that Windows command-line is not bash, requiring WSL or virtual environments. Explains Unix vs MS-DOS variable syntax, then provides a cheat-sheet style walkthrough of core commands such as echo, pwd, cd, ls, mv, and cp with usage examples.",{"@graph":63,"@context":118},[64,80,101],{"@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/the-terminal-what-is-a-terminal-and-essential-command-line-basics/572974/",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/the-terminal-what-is-a-terminal-and-essential-command-line-basics/572974.png","ImageObject",442,249,{"name":88,"@type":89},"SundayMiles","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-20","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":47},"InteractionCounter",{"@type":100},"ViewAction",{"@type":102,"mainEntity":103},"FAQPage",[104,110,114],{"name":105,"@type":106,"acceptedAnswer":107},"What is a terminal according to the slides?","Question",{"text":108,"@type":109},"A terminal is a command-line interpreter that executes single commands entered by the user one after another.","Answer",{"name":111,"@type":106,"acceptedAnswer":112},"How does Windows terminal access a bash environment?",{"text":113,"@type":109},"Windows command-line is not bash; to access bash on Windows, use the Windows Subsystem for Linux (WSL) or a virtual environment.",{"name":115,"@type":106,"acceptedAnswer":116},"What do the slides say about variables in Unix vs MS-DOS?",{"text":117,"@type":109},"Unix terminals reference variables with $ symbols, while MS-DOS uses % symbols enclosing the variable names.","https://schema.org",{"og:url":78,"og:type":120,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":122,"canonical":78},"index,follow",{"doc_id":124,"site_id":56},572974,1792019213,{"code":4,"msg":5,"data":127},{"doc_id":124,"user_id":128,"nickname":88,"user_avatar":129,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":130,"file_id":131,"file_url":132,"file_type":133,"file_size":134,"view_count":47,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":135,"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":141},1099529839202,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","The Terminal  \nSURP 2022 Python Bootcamp Ohio State Astronomy  \nSlides by: James W. Johnson  \nWhat is a Terminal?  \nA command-line interpreter  \nExecutes single commands entered by the user one after another  \nThink of this as a different interface on a Finder window when learning it  \nDisclaimer  \nThere are different types of Terminals-the most common one is bash, ran in Linux and Mac OS environments  \nThe Windows command-line is NOT a bash environment – to access a bash environment in Windows, you need the Windows Subsystem for Linux (WSL)  \n• [https://www.microsoft.com/en-us/p/windows-terminal](https://www.microsoft.com/en-us/p/windows-terminal)  \npreview/9n0dx20hk701?activetab=pivot:overviewtab  \n• Note: This requires Windows 10 version 18362.0 or later  \n• Another option is use a virtual environment, though these are more data-intensive as they’re often running another OS  \n• Where Unix terminals use $ to reference variables, MS-DOS uses enclosing % symbols  \nCheat Sheet  \nWindows uses the MS-DOS command line system – this cheat sheet will take simple commands from one to the other  \n[https://ftp.kh.edu.tw/Linux/Redhat/en_6.2/](https://ftp.kh.edu.tw/Linux/Redhat/en_6.2/)[ ](https://ftp.kh.edu.tw/Linux/Redhat/en_6.2/)[doc/gsg/ch-doslinux.htm](doc/gsg/ch-doslinux.htm)  \nThere are a wealth of references for using a command line  \necho: Print Statements  \nPrints a message to the console Example:  \n$ echo Hello world!  \nHello world!  \n$ echo $x  \n$ x=3  \n$ echo $x  \n3  \npwd: Print Working Directory [chdir]  \nPrints the name of the directory you’re currently in  \nExample:  \n$ pwd  \n/Users/BrutusBuckeye/Desktop/SURP/bootcamp/  \nNote: Windows users should be careful not to confuse this with Python’sos.chdir function, whose function is to change directories  \ncd: Change Directory  \nChange the directory you’re currently in  \nExample:  \n$ pwd  \n/Users/BrutusBuckeye  \n$ cd Desktop/SURP/bootcamp  \n$ pwd  \n/Users/BrutusBuckeye/Desktop/SURP/bootcamp $ cd .. (/Users/BrutusBuckeye/Desktop/SURP)  \n$ cd ~ (/Users/BrutusBuckeye)  \nls: List [dir]  \nList all files in a given directory  \nExample:  \n$ pwd  \n/Users/BrutusBuckeye/Desktop/SURP/bootcamp $ ls  \nexercises notes slides [somecode.py](somecode.py)  \n$ cd ..  \n$ ls  \nbootcamp plots papers notebook.ipynb textfilecode.py  \nmv: Move [move ]  \nMove (i.e. rename) a file or directory  \nUsage: mv [old file name][new file name]  \nExample:  \n$ pwd  \n/Users/BrutusBuckeye/Desktop/SURP/bootcamp $ mv [oldname.py](oldname.py) [newname.py](newname.py)  \n$ ls  \nexercises [newname.py](newname.py) notes slides  \ncp: Copy [copy]  \nCopy a file to a new name/location  \nUsage: cp [existing file name][new file name]  \nExample:  \n$ ls  \ndata.dat result.out [somecode1.py](somecode1.py)[ ](somecode1.py)[$ cp result.out copy.out]($ cp result.out copy.out)  \n$ ls  \ncopy.out data.dat result.out [somecode1.py](somecode1.py)","cbCaig6OJiSStrH9","https://ap.wps.com/l/cbCaig6OJiSStrH9","pdf",8432674,20,"English","# What is a Terminal?\n## Disclaimer\n## Cheat Sheet\n# Core Commands\n## echo\n## pwd [chdir]\n## cd: Change Directory\n## ls: List [dir]\n## mv: Move\n## cp: Copy","[{\"question\":\"What is a terminal according to the slides?\",\"answer\":\"A terminal is a command-line interpreter that executes single commands entered by the user one after another.\"},{\"question\":\"How does Windows terminal access a bash environment?\",\"answer\":\"Windows command-line is not bash; to access bash on Windows, use the Windows Subsystem for Linux (WSL) or a virtual environment.\"},{\"question\":\"What do the slides say about variables in Unix vs MS-DOS?\",\"answer\":\"Unix terminals reference variables with $ symbols, while MS-DOS uses % symbols enclosing the variable names.\"}]","The Terminal - What is a Terminal and Essential Command-Line Basics | PDF",1791930327,7]