Command Line

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

Create a Password Protected Text File with vi and the Command Line

Nov 22, 2013 - 4 Comments
Terminal in OS X

It’s easy to create a password protected text file by using the command line text editor ‘vi’. This is infinitely useful for privacy purposes, whether the protected file is for containing login details, various passwords, personal information, a private journal, or just about anything else that you want stored securely in a single password protected … Read More

Internet Connection Down? Get a Voice Alert When Your Mac is Back Online

Nov 18, 2013 - 6 Comments
Detect an internet connection is back online

We’re all incredibly reliant on our internet connections these days, but sometimes those connections aren’t so reliable. Whether it’s due to an ISP failure, a router being down, someone tripping over a cord somewhere, or whatever other occurrence, it can be frustrating to wait for a downed internet connection to come alive again. We’ve all … Read More

How to List All IPSW Files from Apple Servers Using the Command Line

Nov 15, 2013 - 2 Comments
Get a list of all IPSW files available from Apple

Many advanced users prefer to use firmware files when updating their iOS devices to the latest version, and every time an iOS update comes out we post direct download links for the latest versions. Every once in a while we get questions from users who wonder how we find those file links, since they’re tucked … Read More

Using the Purge Command in OS X Mavericks

Nov 14, 2013 - 15 Comments
purge command in Mac OS X

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

Get a Fully Functioning Terminal in Google Chrome Developer Tools

Nov 11, 2013 - 1 Comment
Terminal in Google Chrome Developer Tools

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

7 Handy Command Line Tips You Don’t Want to Miss

Oct 17, 2013 - Leave a Comment
Terminal icon in OS X

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

5 cd Command Tricks All Command Line Users Should Know

Oct 11, 2013 - Leave a Comment
Mac Terminal icon

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

How to Enable NTFS Write Support in Mac OS X

Oct 2, 2013 - 48 Comments
NTFS write support in Mac OS X

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

List All Apps Downloaded from the Mac App Store via Command Line

Sep 28, 2013 - Leave a Comment
List Mac App Store apps from the Terminal

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

Start a Web Search in a GUI Browser from the Command Line

Aug 22, 2013 - 2 Comments
Search the web from the command line

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

Find & Replace Text in Multiple Documents from the Command Line

Aug 20, 2013 - Leave a Comment

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

Turn the Terminal into a Matrix-Style Scrolling Screen of Binary or Gibberish

Aug 15, 2013 - Leave a Comment
Scrolling Matrix terminal window

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

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates