{
    "componentChunkName": "component---src-components-blog-post-jsx",
    "path": "/blog/conquering-the-command-line/",
    "result": {"data":{"site":{"siteMetadata":{"author":"Monica Powell","siteUrl":"https://www.aboutmonica.com"}},"mdx":{"id":"3c5a32b5-043c-54b9-8416-2c1cb0851dea","timeToRead":3,"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Conquering the Command Line\",\n  \"date\": \"2017-12-05T17:11:11.376Z\",\n  \"template\": \"post\",\n  \"draft\": false,\n  \"slug\": \"conquering-the-command-line\",\n  \"category\": [\"tutorial\"],\n  \"tags\": [\"Terminal\", \"Unix\", \"Tutorial\"],\n  \"description\": \"When I was first introduced to the command line I really had to adjust to navigating my computer in a black box with just text. So I avoided the command line as much as possible. I was accustomed to…\",\n  \"redirects\": [\"/blog/2017/12/05/conquering-the-command-line\"]\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"h4\", {\n    \"id\": \"a-brief-guide-to-getting-started-on-unixmac-osterminal\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h4\",\n    \"href\": \"#a-brief-guide-to-getting-started-on-unixmac-osterminal\",\n    \"aria-label\": \"a brief guide to getting started on unixmac osterminal permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"A brief guide to getting started on UNIX/Mac OS\\xA0terminal\"), mdx(\"figure\", null, mdx(\"p\", null, mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"/media/conquering-the-command-line-0.png\",\n    \"alt\": null\n  })), mdx(\"figcaption\", null, \"Output on Mac OS terminal after typing: **telnet towel.blinkenlights.nl**\")), mdx(\"p\", null, \"When I was first introduced to the command line I really had to adjust to navigating my computer in a black box with just text. So I avoided the command line as much as possible. I was accustomed to the visual cues and feedback that a computer usually provides. In many ways it felt like I was re-learning how to use a computer via the command line.\"), mdx(\"p\", null, \"Yet, since first learning how to navigate my computer using UNIX commands I\\u2019ve learned that the command line doesn\\u2019t have to be a scary thing just because there\\u2019s no visual feedback when typing a password in on the command line. As security, nothing shows up as you type in your password to indicate that any characters have been entered.\"), mdx(\"h4\", {\n    \"id\": \"what-is-the-commandline\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h4\",\n    \"href\": \"#what-is-the-commandline\",\n    \"aria-label\": \"what is the commandline permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"What is the command\\xA0line?\"), mdx(\"p\", null, \"The command line is a software that executes commands or instructions for a computer to manipulate or interact with its file system.\"), mdx(\"h3\", {\n    \"id\": \"what-isunix\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h3\",\n    \"href\": \"#what-isunix\",\n    \"aria-label\": \"what isunix permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"What is\\xA0UNIX?\"), mdx(\"h4\", {\n    \"id\": \"why-use-the-commandline\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h4\",\n    \"href\": \"#why-use-the-commandline\",\n    \"aria-label\": \"why use the commandline permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Why Use the Command\\xA0Line?\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Faster to modify, navigate between files\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Able to install software as a superuser\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Can see hidden dotfiles\", mdx(\"br\", {\n    parentName: \"li\"\n  }), \"dotfiles are UNIX configuration files, they tend to be files that are proceeded with a\\xA0\", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \".\"), \" and are hidden to normal users.\", mdx(\"br\", {\n    parentName: \"li\"\n  }), \"You can \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://medium.com/@webprolific/getting-started-with-dotfiles-43c3602fd789\"\n  }, \"learn more about getting started with dotfiles in this article\"), \").\")), mdx(\"p\", null, \"In order to get started on the command line you should navigate to your applications and open the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Terminal\"), \" application.\"), mdx(\"figure\", null, mdx(\"p\", null, mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"/media/conquering-the-command-line-1.png\",\n    \"alt\": null\n  })), mdx(\"figcaption\", null, \"Above is the Terminal Icon on\\xA0Mac.\")), mdx(\"h3\", {\n    \"id\": \"create-a-basic-website-folder-on-the-commandline\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h3\",\n    \"href\": \"#create-a-basic-website-folder-on-the-commandline\",\n    \"aria-label\": \"create a basic website folder on the commandline permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Create a Basic Website Folder on the Command\\xA0Line\"), mdx(\"figure\", null, mdx(\"p\", null, mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"/media/conquering-the-command-line-2.png\",\n    \"alt\": null\n  })), mdx(\"figcaption\", null, \"Folder structure of sample\\xA0project\")), mdx(\"p\", null, \"A folder with the above structure can be create on the command line by typing the commands inside of an empty directory:\"), mdx(\"figure\", null, mdx(\"p\", null, mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"/media/conquering-the-command-line-3.png\",\n    \"alt\": null\n  })), mdx(\"figcaption\", null, \"We start inside of an empty directory!\")), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Make a directory (also known as a folder) called personal-website\", mdx(\"br\", {\n    parentName: \"li\"\n  }), mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"mkdir personal-website\"))), mdx(\"figure\", null, mdx(\"p\", null, mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"/media/conquering-the-command-line-4.png\",\n    \"alt\": null\n  })), mdx(\"figcaption\", null, \"We\\u2019ve created a folder named personal-website\")), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Navigate to inside of the directory called personal-website\", mdx(\"br\", {\n    parentName: \"li\"\n  }), mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"cd personal-website\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"create a directory, inside of the personal-website folder called assets\", mdx(\"br\", {\n    parentName: \"li\"\n  }), mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"mkdir assets\"))), mdx(\"figure\", null, mdx(\"p\", null, mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"/media/conquering-the-command-line-5.png\",\n    \"alt\": null\n  })), mdx(\"figcaption\", null, \"We\\u2019ve created a folder inside of personal-website to contain all of our\\xA0assets\")), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Navigate inside of the assets folder which is inside of the personal-website folder\", mdx(\"br\", {\n    parentName: \"li\"\n  }), mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"cd assets\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"create a directory, inside of the assets folder named images\", mdx(\"br\", {\n    parentName: \"li\"\n  }), mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"mdkir images\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"create a directory, inside of the assets folder named js\", mdx(\"br\", {\n    parentName: \"li\"\n  }), mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"mkdir js\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"create a directory, inside of the assets folder named css\", mdx(\"br\", {\n    parentName: \"li\"\n  }), mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"mkdir css\"))), mdx(\"figure\", null, mdx(\"p\", null, mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"/media/conquering-the-command-line-6.png\",\n    \"alt\": null\n  })), mdx(\"figcaption\", null, \"We\\u2019ve created folders inside of personal-website/assets to store our project\\u2019s assets\")), mdx(\"figure\", null, mdx(\"p\", null, mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"/media/conquering-the-command-line-7.png\",\n    \"alt\": null\n  }))), mdx(\"p\", null, \"Woops! We forgot to create an index.html file\\xA0:(\"), mdx(\"p\", null, \"We are in the assets folder and want an index.html file in our main personal-website folder. Typing \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"cd ..\"), \" will move us out of the assets folder and into the directory above which is personal-website. Now that we are in the personal-website folder if we type \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"touch index.html\"), \" a blank index.html file will be created.\"), mdx(\"figure\", null, mdx(\"p\", null, mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"/media/conquering-the-command-line-8.png\",\n    \"alt\": null\n  }))), mdx(\"h3\", {\n    \"id\": \"some-frequently-used-terminal-commandsare\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h3\",\n    \"href\": \"#some-frequently-used-terminal-commandsare\",\n    \"aria-label\": \"some frequently used terminal commandsare permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Some frequently used terminal commands\\xA0are:\"), mdx(\"h4\", {\n    \"id\": \"commands-to-navigatemanipulate-the-filesystem\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h4\",\n    \"href\": \"#commands-to-navigatemanipulate-the-filesystem\",\n    \"aria-label\": \"commands to navigatemanipulate the filesystem permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"commands to navigate/manipulate the filesystem\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"ls\", mdx(\"br\", {\n    parentName: \"strong\"\n  }), \"*\", \"*\"), \"list\", \"*\", \"*\", \" the contents of a directory\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"pwd\", mdx(\"br\", {\n    parentName: \"strong\"\n  }), \"print working directory\"), \" for the terminal to display the directory you are currently working on\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"touch\\xA0\", mdx(\"br\", {\n    parentName: \"strong\"\n  })), \"create or open a file without making any changes\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"very handy when wanting to create empty files without leaving the command line\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"sudo\\xA0\", mdx(\"br\", {\n    parentName: \"strong\"\n  })), \"this allows you to run commands as a \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"super user\")), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"mv\\xA0\", mdx(\"br\", {\n    parentName: \"strong\"\n  }), \"move\"), \" a file or directorythis can be used to move or rename a file by updating the file path\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"cd\"), \"\\xA0\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"change the current directory\"), \" you are working on so that you can access files on a different part of the system\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"cd\"), \" moves you to the root directory (top level folder on computer\\u200A\\u2014\\u200Ausually the current User)\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"cd .\"), \" current directory\\xA0\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"cd ..\"), \" navigates to directory two levels up\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"mkdir\"), \"\\xA0\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"make\"), \" a new \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"directory\"), \" (or a folder)\"), mdx(\"h4\", {\n    \"id\": \"commands-to-installsoftware\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h4\",\n    \"href\": \"#commands-to-installsoftware\",\n    \"aria-label\": \"commands to installsoftware permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), mdx(\"strong\", {\n    parentName: \"h4\"\n  }, \"Commands to Install\\xA0Software\")), mdx(\"p\", null, \"You can install some software from the command line using the following commands:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"in Python \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"pip install <package name>.\"), \"\\xA0\", mdx(\"br\", {\n    parentName: \"li\"\n  }), \"Pip is a software package manager for Python.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"in JavaScript \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"npm install <package name>\"), \"\\xA0\", mdx(\"br\", {\n    parentName: \"li\"\n  }), \"NPM is a package manager for JavaScript pages.\")), mdx(\"h4\", {\n    \"id\": \"commands-to-runsoftware\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h4\",\n    \"href\": \"#commands-to-runsoftware\",\n    \"aria-label\": \"commands to runsoftware permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Commands to Run\\xA0Software\"), mdx(\"p\", null, \"In order to run a script on the command line you need to provide a command prompt and file name. Some examples are:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"in Java \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"javac filename.java\"), \" and then \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"java filename\"), \" compiles java projects and then runs them.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"in Python \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"python filename\"), \" runs python scripts.\")), mdx(\"p\", null, \"If you find you are repeating a lot of commands you can scroll through your recent commands using the up/down arrows and edit them and re-run by navigating to them and then pressing enter.\"), mdx(\"h4\", {\n    \"id\": \"additional-resources-to-get-started-with-command-lineprompts\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h4\",\n    \"href\": \"#additional-resources-to-get-started-with-command-lineprompts\",\n    \"aria-label\": \"additional resources to get started with command lineprompts permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Additional Resources to Get Started with Command Line\\xA0Prompts\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"http://web.mit.edu/mprat/Public/web/Terminus/Web/main.html\"\n  }, \"MIT Terminus (interactive game to learn command line)\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://www.codecademy.com/learn/learn-the-command-line\"\n  }, \"Codecademy Learn the Command Line\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://learnpythonthehardway.org/book/appendixa.html\"\n  }, \"Learn Python the Hard Way\\u2019s Command Line Crash Course\"))), mdx(\"h4\", {\n    \"id\": \"decorating-the-commandline\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h4\",\n    \"href\": \"#decorating-the-commandline\",\n    \"aria-label\": \"decorating the commandline permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Decorating the Command\\xA0Line\"), mdx(\"p\", null, \"You can completely customize the colors and outputs on the command line to better suit your visual and aesthetic needs.\"), mdx(\"p\", null, \"Here\\u2019s how I\\u2019ve made my command line prettier\\xA0:\"), mdx(\"p\", null, \"How to install Tomorrow Night\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://github.com/chriskempson/tomorrow-theme/blob/master/OS%20X%20Terminal/Tomorrow%20Night.terminal\"\n  }, \"https://github.com/chriskempson/tomorrow-theme/blob/master/OS%20X%20Terminal/Tomorrow%20Night.terminal\")), mdx(\"p\", null, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://mindthecode.com/customize-the-terminal/\",\n    \"title\": \"https://mindthecode.com/customize-the-terminal/\"\n  }, mdx(\"strong\", {\n    parentName: \"a\"\n  }, \"Customize the terminal\"), mdx(\"br\", {\n    parentName: \"a\"\n  }), \"_\", \"I love the terminal. Besides the fact it makes you look awesome while using it, it can also do about a gazillion\\u2026\", \"_\", \"mindthecode.com\"), mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://mindthecode.com/customize-the-terminal/\"\n  })), mdx(\"p\", null, mdx(\"em\", {\n    parentName: \"p\"\n  }, \"If you enjoyed reading this article consider tapping the clap button \\uD83D\\uDC4F. Wanna see more of my work? Check out\"), \" \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://github.com/M0nica/\"\n  }, mdx(\"em\", {\n    parentName: \"a\"\n  }, \"my GitHub\")), \" \", mdx(\"em\", {\n    parentName: \"p\"\n  }, \"to view my code and learn more about my development experience at\"), \" \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"http://aboutmonica.com\"\n  }, mdx(\"em\", {\n    parentName: \"a\"\n  }, \"http://aboutmonica.com\")), mdx(\"em\", {\n    parentName: \"p\"\n  }, \".\")));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{"items":[{"items":[{"url":"#a-brief-guide-to-getting-started-on-unixmac-osterminal","title":"A brief guide to getting started on UNIX/Mac OS terminal"},{"url":"#what-is-the-commandline","title":"What is the command line?"}]},{"url":"#what-isunix","title":"What is UNIX?","items":[{"url":"#why-use-the-commandline","title":"Why Use the Command Line?"}]},{"url":"#create-a-basic-website-folder-on-the-commandline","title":"Create a Basic Website Folder on the Command Line"},{"url":"#some-frequently-used-terminal-commandsare","title":"Some frequently used terminal commands are:","items":[{"url":"#commands-to-navigatemanipulate-the-filesystem","title":"commands to navigate/manipulate the filesystem"},{"url":"#commands-to-installsoftware","title":"Commands to Install Software"},{"url":"#commands-to-runsoftware","title":"Commands to Run Software"},{"url":"#additional-resources-to-get-started-with-command-lineprompts","title":"Additional Resources to Get Started with Command Line Prompts"},{"url":"#decorating-the-commandline","title":"Decorating the Command Line"}]}]},"frontmatter":{"title":"Conquering the Command Line","date":"December 05, 2017","description":"When I was first introduced to the command line I really had to adjust to navigating my computer in a black box with just text. So I avoided the command line as much as possible. I was accustomed to…","tags":["Terminal","Unix","Tutorial"]}},"allWebMentionEntry":{"edges":[]}},"pageContext":{"permalink":"https://www.aboutmonica.com/blog/conquering-the-command-line/","slug":"/blog/conquering-the-command-line/","prev":{"id":"889e9c35-049a-58c0-9a0c-23ac8ed5684b","frontmatter":{"title":"How I automatically created a Twitter List of FreeCodeCampers in 5 minutes","category":["tutorial"],"date":"2018-01-17T17:11:11.376Z","slug":"programmatically-create-twitter-list","tags":["Community","Python","Tutorial"],"redirects":["/blog/2018/01/17/programmatically-create-twitter-list"]},"fields":{"slug":"/blog/programmatically-create-twitter-list/"}},"next":{"id":"7b83d79c-e33f-50d0-af11-90c3bf947de0","frontmatter":{"title":"Overcoming the Goldilocks Complex","category":["reflections"],"date":"2017-04-18T00:12:34.323Z","slug":"overcoming-the-goldilocks-complex","tags":["Programming","Learning","Reflection"],"redirects":["/blog/2017/04/18/overcoming-the-goldilocks-complex/"]},"fields":{"slug":"/blog/overcoming-the-goldilocks-complex/"}}}},
    "staticQueryHashes": ["1977783444","764694655"]}