[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-572306-105":53,"doc-detail-572306-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","command-line-cheat-sheets-windows-command-line-cmd-essentials-cheat-sheet-powershell-essentials-cheat-sheet","Command Line Cheat Sheets - Windows Command Line (CMD) Essentials Cheat Sheet - PowerShell Essentials Cheat Sheet","","Command Line Cheat Sheets provides concise reference guidance for using Windows Command Prompt (CMD) and PowerShell. It summarizes common commands for navigation and help, including dir, tree, cd, cls, echo, and exit, along with file and directory operations such as md, rd, del, copy, move, and ren. It also covers text and output redirection operators, sorting and file comparison, and core OS utilities like systeminfo, tasklist, taskkill, set, date, time, find, and path, followed by PowerShell Cmdlets and scripting essentials like pipelines and scripting syntax.",{"@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/command-line-cheat-sheets-windows-command-line-cmd-essentials-cheat-sheet-powershell-essentials-cheat-sheet/572306/",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/command-line-cheat-sheets-windows-command-line-cmd-essentials-cheat-sheet-powershell-essentials-cheat-sheet/572306.png","ImageObject",442,249,{"name":88,"@type":89},"Supernature","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-21","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},"What does the CMD help command do, and how is it used?","Question",{"text":109,"@type":110},"The help command provides help information for Windows commands. It can be used as help or help \u003Ccommand>.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"Which CMD commands are used to create and remove directories?",{"text":114,"@type":110},"Use md to create a directory and rd to remove a directory, each with the required \u003Cdirectory> argument.",{"name":116,"@type":107,"acceptedAnswer":117},"How can output be redirected in Windows CMD?",{"text":118,"@type":110},"Use > to direct output into a file (overwriting if it exists) and >> to append output to a file if it exists.","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},572306,1792338252,{"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},962093270004,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","LA-UR-21-25056  \nApproved for public release; distribution is unlimited.  \nTitle: Command Line Cheat Sheets  \nAuthor(s): Pope, Aaron Scott  \nIntended for: Cyber Fire summer school and other Cyber Fire events.  \nIssued: 2021-05-26  \nDisclaimer:  \nLos Alamos National Laboratory, an affirmative action/equal opportunity employer, is operated by Triad National Security, LLC for the National Nuclear Security Administration of U.S. Department of Energy under contract 89233218CNA000001 . By approving this article, the publisher recognizes that the U.S. Government retains nonexclusive, royalty-free license to publish or reproduce the published form of this contribution, or to allow others to do so, for U.S. Government purposes. Los Alamos National Laboratory requests that the publisher identify this article as work performed under the auspices of the U.S. Department of Energy. Los Alamos National Laboratory strongly supports academic freedom and a researcher's right to publish; as an institution, however, the Laboratory does not endorse the viewpoint of a publication or guarantee its technical correctness.  \nCommand Line Cheat Sheets  \nAuthor: Aaron Scott Pope  \nA-4: Advanced Research in Cyber Systems  \nCYBERFIRE  \nWindows Command Line (CMD) Essentials Cheat Sheet  \nGetting around in the command line  \nhelp: Provides Help information for Windows commands.  \nUsage: help or help \u003Ccommand>  \ndir: Displays a list of 􀀌les and subdirectories in a directory.  \nUsage: dir or dir \u003Cdirectory>  \ntree: Graphically displays the directory structure of a drive or path. Usage: tree or tree \u003Cdirectory>  \ncd: Displays the name of or changes the current directory.  \nUsage: cd or cd \u003Cdirectory> (cd . . to go up a directory) cls: Clears the screen.  \necho: Displays messages, or turns command echoing on or o􀀋 .  \nUsage: echo or echo \u003Ctext>  \nexit: Quits the CMD. EXE program (command interpreter) .  \nManipulating 􀀌les and directories  \nmd: Creates a directory.  \nUsage: md \u003Cdirectory>  \nrd: Removes a directory.  \nUsage: rd \u003Cdirectory>  \ndel: Deletes one or more 􀀌les.  \nUsage: del \u003Cfilename> [\u003Cfilename2> . . .]  \ncopy: Copies one or more 􀀌les to another location.  \nUsage: copy \u003Csource> \u003Cdestination>  \nmove: Moves one or more 􀀌les from one directory to another directory. Usage: move \u003Csource> \u003Cdestination>  \nren: Renames a 􀀌le or 􀀌les.  \nUsage: ren \u003Cold name> \u003Cnew name>  \nWorking with 􀀌les  \ntype: Displays the contents of a text 􀀌le.  \nUsage: type \u003Cfilename>  \nmore: Displays output one screen at a time.  \nUsage: more \u003Cfilename>  \nfc: Compares to 􀀌les or sets of 􀀌les, and displays the di􀀋erences between them. Usage: fc \u003Cfilename1> \u003Cfilename2>  \n> : Direct output into a 􀀌le, overwriting if the 􀀌le exists.  \nExample: echo Hello! > hello .txt  \n>>: Direct output into a 􀀌le, appending if the 􀀌le exists.  \nExample: echo Hello again! >> hello .txt  \nsort: Sorts input.  \nUsage: sort [/R] \u003Cfilename>  \nWorking with the Operating System  \nsysteminfo: Displays machine speci􀀌c properties and con􀀌guration. tasklist: Displays all currently running tasks including services.  \ntaskkill: Kill or stop a running process or application.  \nExamples: taskkill /im calc .exe  \ntaskkill /PID \u003Cprocess ID>  \nset: Displays, sets, or removes Windows environment variables.  \ndate: Displays or sets the date.  \ntime: Displays or sets the system time.  \n􀀌nd: Searches for a text string in a 􀀌le or 􀀌les.  \nExample: find \"hello\" * .txt  \npath: Displays or sets a search path for executable 􀀌les.  \nNotes  \n• The Windows command prompt is generally case insensitive (type hello .txt is the same as TYPE HeLlo.TXT) .  \n• You can reference a 􀀌le in the current directory (file.txt), another directory (nUsersnbobnDocumentsnfile.txt), or another drive (D:nBackupsnfile.txt) .  \n• You don't need to cd to another drive, just type the drive letter, a colon (:), and hit enter (e.g. , \\d:\") .  \nWindows PowerShell Essentials Cheat Sheet  \nNotes  \n• PowerShell commands, known as Cmdlets, are typically in \\Verb-Noun\"","cbCaijsllzN2EiLq","https://ap.wps.com/l/cbCaijsllzN2EiLq","pdf",196711,7,"English","# Getting around in the command line\n## Windows Command Line (CMD) essentials\n# Manipulating files and directories\n## Working with files\n## Working with the Operating System\n# Getting around PowerShell\n## PowerShell essentials cheat sheet","[{\"question\":\"What does the CMD help command do, and how is it used?\",\"answer\":\"The help command provides help information for Windows commands. It can be used as help or help \\u003ccommand\\u003e.\"},{\"question\":\"Which CMD commands are used to create and remove directories?\",\"answer\":\"Use md to create a directory and rd to remove a directory, each with the required \\u003cdirectory\\u003e argument.\"},{\"question\":\"How can output be redirected in Windows CMD?\",\"answer\":\"Use \\u003e to direct output into a file (overwriting if it exists) and \\u003e\\u003e to append output to a file if it exists.\"}]","Command Line Cheat Sheets - Windows Command Line (CMD) Essentials Cheat Sheet - PowerShell Essentials Cheat Sheet | PDF",1791926658]