The sudo command, short for “superuser do,” is the most powerful command prefix you can use in Terminal. It elevates your account privileges temporarily, allowing you to run commands that would typically be prohibited. With this power, you can do serious damage to your system if you’re not careful. Always exercise due caution before using […]
Pro Terminal: Automate the Boring Stuff with launchd
We spend a lot of time doing tedious things with computers. Magical though they may be, and as powerful as they are, folks still use computers to manually enable repetitive tasks. With just a teaspoon of programming knowledge, you can automate the boring parts of your computing life. launchd is one of those tools that […]
Pro Terminal: Install Linux Software on a Mac with MacPorts
If you’re familiar with apt-get from Linux, then you know what a package manager does. It handles downloading, installing, updating and managing certain applications and their dependencies within the operating system. MacPorts is a command-line package manager for macOS. With MacPorts you can install Linux applications on macOS from the command line. What can I […]
Pro Terminal Commands: Using diskutil
diskutil is the command line version of Disk Utility, the macOS application used to manage hard drives. Just like Disk Utility, you can use the command to format disks, erase drives and more. Once you’re familiar with it, you’ll find that the command is often more powerful and faster than Disk Utility, with more features to boot. […]
Terminal Tips: Making Terminal More User-Friendly
Even as you become more skilled with Terminal, it’s not the most user-friendly application on Earth. Because it’s a text-only input method, it’s hyper fast, but it can also be hyper confusing. If you spend a lot of time there, you might want to find ways to make it slightly less painful to get your […]