Every Monday, we'll show you how to do something new and simple with Apple's built-in command line application. You don't need any fancy software, or a knowledge of coding to do any of these. All you need is a keyboard to type 'em out!
Whenever you run a command in the Terminal, such as cp, mv, ls, or a custom command from an executable that you've installed onto your Mac from Homebrew or MacPorts, you might be wondering where the program is installed on your Mac. Fortunately, there's a relatively easy way to find out with a single command called "which." Using this command, you can get the path to the command that you're wanting to inquire about. Continue reading to learn more about using this command.
Just imagine, a little over 20 years ago we were barely able to drag a mouse across the screen, let alone get around a desktop interface without typing in a few command lines. Forunately, things have drastically changed, but the command line still provides a powerful way of interacting with your Mac.
Unfortunately, most Mac users never dive into Unix because of how intimidating it can seem at first. But familiarizing yourself with it -- even a little bit -- is a good idea for your coding arsenal. We rounded up some of the most utilized Unix commands you should know so you can get started tinkering with Terminal.