
This is called the command line prompt, or prompt, because it prompts you to input your command (whatever it is you want your computer to do). You might see some information at the beginning like C:\Users\NAME > or NAME-MacBook:~ NAME$. Once your command line is open you should see a white or black window waiting for your commands. It will look like this:Īn alternative way to open command line is to go to Applications → Utilities → Terminal. Hold down the command key and hit the spacebar until a search bar pops up and then type “terminal”.

The first thing to do is open the command line interface for your computer’s operating system.
#Command line for mac online class install#
Even for the machine learning hobbyist, one of the first things you’re going to need to do is install different Python libraries and the quickest and easiest way to get this done is through the command line. Pretty much everyone else (at least in the data crunching world of intelligent machines) use command line, so it’s pretty hard to avoid. Perfect for the kind of tasks that you don’t realize you need to do quickly and easily until you do.Įven if you’re not interested in having a better relationship with your computer, odds are, if you’re interested in machine learning or data science, you’re going to come across the command line sooner, rather than later. It’s great for batching and automating tasks like renaming a thousand photos at once or moving many files from one folder to another.
#Command line for mac online class how to#
One of the most important reasons that people choose to learn how to use the command line interface is that it gives you more control over your own computer, allowing you to better understand how it works. If you want to learn how to code, install or use Python libraries, or work with machine learning algorithms, then knowing the basics of command line is an essential skill.įYI you might also hear command line called cmd, CLI, prompt, console, terminal, bash, or shell. You also don’t need to use a mouse for navigation – all interaction with a command line can be done through your keyboard.Ĭommand line represents your computer (folders, programs etc) without the visual interface – it’s all there, you’re just accessing it in a different way and have a lot more flexibility for some of the more complex tasks you might want to carry out. In the case of a command line input, you use commands to make your computer do things, rather than say, the Python syntax. This might feel off putting at first, but the command line allows power users to control their computer behind the scenes using text input, in a similar way to coding languages like Python. Command line is text based, which means it doesn’t display images, but rather lines and lines of text. The command line, or command-line interface, allows you to navigate your computer and run programs by typing commands directly to your computer’s operating system. Never heard of command line before? Read on to learn how to use command line and why it will help you level up your ML game. Bonus points for using command line to automate boring tasks like renaming thousands of pictures. Understanding the basics of command line will not only improve your computing skills, but will also help you accomplish your machine learning goals. Your computer’s command line plays a central role in setting up and running machine learning and AI algorithms. In a nutshell, command line (and the command line interface where you type) provides a way for you to interact with a computer program by issuing ‘commands’ to the program in the form of text.



Command line is one of the most powerful tools on your computer, but the chances are, you may have never used it.
