#Mac command line shortcut install#
You will be making heavy use of the command line throughout this curriculum, and the upcoming installations project will need you to install many different software programs using the command line. Now that you are aware of what $ does, take your terminal for a test run! Make sure your terminal is open, type the command mentioned above, and press enter on your keyboard. This is a common indicator so make sure that you aren’t entering $ before a command. In the example above, we would only enter whoami in our terminal. The $ is saying “Hey! Enter what follows in your terminal.” This means that we must exclude the $ when entering any command. This is a terminal command because it begins with a $. Press RETURN to open it.īefore we do anything, take a look at the following text: Press CMD + SPACE to open Spotlight, and search for “Terminal”. You can also use Spotlight search to open Terminal.
MacOS: Open your Applications > Utilities folder and find “Terminal”. You can also open the terminal by pressing CTRL + ALT + T on your keyboard. Linux: open the programs menu and search for “Terminal”. So don’t let the prospect of using the command line for the first time intimidate you.
The commands you will learn in this lesson are very straightforward. You’ll soon see that this isn’t as difficult as you may think.
#Mac command line shortcut how to#
In this introductory lesson to the command line, you’ll learn how to navigate around your computer and how to manipulate files and directories (also known as folders) directly from the comfort of the command line. It has a syntax of its own to learn, but since you’ll be entering the same commands dozens of times, you’ll quickly pick up the commands you need most. The command line is like our base of operations, from which we can launch other programs and interact with them. While there’s no need for you to reenact the scene above, working with the command line is a critical skill for you to learn as a developer. That black screen or window is the command line interface (CLI), where you’re able to enter commands that your computer will run for you. We have this image of developers staring intently at a black screen with white or green text flashing across as they wildly enter incomprehensible commands to hack into the corporate mainframe (no doubt while guzzling soda and wiping neon orange Cheetos dust off their keyboard). Feeling scared of the command line? You’re not alone.