Many Mac users running OS X Mavericks have noticed the purge command, which forces memory cache to be emptied as if it a computer was rebooted, throws an error when attempting to run through Terminal in OS X 10.9. In most cases that error message is “Unable to purge disk buffers: Operation not permitted”. This … Read More
The command line interface is an alternate method of interacting with OS X, relying on text based command entry to execute commands and perform tasks. It is accessed on the Mac by using the Terminal application. Generally, the command line is considered advanced, and thus it’s usage tends to be more complex than many standard procedures on a Mac.
Search Command Line
Just about every web developer or designer is familiar with Google Chrome’s Developer Tools, which allows for easy browser based debugging, tweaking, and adjusting of web pages and web applications. Those who live in web browsers and text editors know just how useful DevTools is, and with the help of a third party Chrome extension … Read More
Getting comfortable with the command line is often just a matter of learning a few command tricks and finding uses for them, and we’re going to offer six handy tricks that you’re almost certain to find some use out of regardless of your skill level in the Terminal. Read on, you’ll be downloading files, using … Read More
One of the most commonly used command line tools is ‘cd’, which stands for change directory, and as you probably know is used to navigate directories and switch between one folder or another within the file system. For those just learning and starting to familiarize themselves with the Terminal and command line, here are five … Read More
OS X has always been able to read NTFS drives, but tucked away in Mac OS X is a hidden option to enable write support to drives formatted as NTFS (NTFS stands for New Technology File System and is a proprietary file system format for Microsoft Windows). Enabling NTFS write support on the Mac is … Read More
A handy terminal command will show a list of all apps installed on a Mac that have come exclusively from the Mac App Store. This can be helpful for a variety of reasons, like when building a list of apps you may want to replace from outside the official App Store channels if you’re migrating … Read More
With the help of a simple command line function, you can quickly initiate a web search in your GUI web browser of choice right from the Terminal app. We’ll cover a few examples, demonstrating searching the web with Google, Bing, Yahoo, and Wikipedia, and using a variety of different web browsers, including Chrome, Safari, and … Read More
If you’re comfortable with the command line and ever in a situation where you need to find and replace a word, phrase, URL, or character across a group of multiple text documents, perl does the job quite well. A simple command string will very quickly perform a group batch find and replace on text, whether … Read More
The command line is usually thought of as serious and we usually only cover useful terminal tricks that are fairly advanced, but not everything in the Terminal has to be useful. To prove that, we have three command strings that when pasted into the OS X Terminal, do nothing but scroll screenfuls of random text, … Read More
Using Disk Utility through Recovery Mode is the preferred and primary tool for repairing disks on the Mac platform, but if Disk Utility is either unavailable or not able to repair a drive, then Single User Mode and the command line tool fsck should be your next choice.
The excellent wget tool provides for a simple way to test the speed of an internet connection directly from the command line. Though it’s bundled with most unix variations, Mac users will first need to grab wget for OS X in order for this to work, wget is a simple terminal utility used to download … Read More
Need to quickly get your external IP address from the command line for SSH or otherwise? No sweat, you can use either the curl command or dig to extract the information quickly from a variety of sources. We’ll focus on two different options that have proven to be reliable over time, the first is quite … Read More