Some other useful variations and arguments are in the examples below. Learning to use the Terminal is kind of like speaking a different language - you'll have to familiarize yourself with at least the general rules to use it properly.įor example, every character you type matters, even spaces you navigate through lines using your arrow keys and you have to press the "return," or "enter," button to give a command. For this limited how-to, one interesting way to use the open command in this context is to use the -a option.
If you're new to the Mac Terminal, think of it as the ultimate command shortcut hub, one that allows you to take control of your operating system in a super quick and efficient way (it's also something you might use if you're familiar with UNIX operating systems). Visit Business Insider's homepage for more stories.You can use it to do things like open an application, open a file (through its default app), or open a file using a specific application or the text editor.
Method 4: Open Run Command Box from Power User Menu. If you often have to run a Terminal command and you’re tired of having to type it out over and over again, it’s a good idea to just save it as a script and run it instead. The only difficult or inconvenient part is where you have to type the command out. Type the word run inside Cortana’s search box in the taskbar, and then click Run from the search result. Terminal commands on macOS aren’t difficult to run.