Subscribe to OSXDaily

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

OSXDaily on Facebook

OSXDaily on Google+

Shop at Amazon

Ad

Shared on Facebook

Search Command Line

Command Line

See a List of All Wi-Fi Networks a Mac Has Previously Connected To

Dec 21, 2012 - 2 Comments

Knowing which wireless networks a Mac has been connected to in the past be can be helpful for a variety of reasons, including network troubleshooting, determining where a Mac has been, if a specific wifi password is recoverable, and a myriad of other technical reasons. Searching for past networks is completely different from finding currently … Read More

Reset App Access to OS X Privacy Data from the Command Line

Dec 19, 2012 - 10 Comments

If you accidentally permitted an app to gain access to things like your personal contacts list or location, or you’d just like to start over again and have granular control over which applications can access certain data, you can use the command line tool tccutil in OS X 10.8 and later. Think of the tccutil … Read More

How to Clear Command Line History

Dec 17, 2012 - 7 Comments

If you’re a frequent command line user, you’re likely to have found the history command to be quite useful before, whether it’s for discovering your most frequently used commands, dumping history and searching it to find specific past commands, listing all defaults commands used, or whatever else. That said, there are some obvious situations where … Read More

9 Command Line Tricks for Mac OS X You Should Know

Dec 5, 2012 - 14 Comments

The command line is often considered the realm of advanced users, but that doesn’t mean every usage of Terminal has to involve rocket science. This collection of terminal tips should apply to a wide variety of Mac users, and everyone from beginners to advanced users should find something worthwhile here.

Run X11 in Mac OS X with XQuartz

Dec 2, 2012 - 1 Comment

Advanced Mac users may have noticed that X11 is no longer bundled with OS X, and it’s also no longer available as a separate installation option through Developer Tools. Instead, to run X11 on OS X Mountain Lion (and later), you’ll want to download and install the free XQuartz system, which bundles all the necessary … Read More

Batch Resize a Group of Pictures from the Command Line with sips

Nov 25, 2012 - 5 Comments

Though most Mac users will likely prefer to use Preview to batch resize images because of the ease of use, advanced users often like to go with the command line for repetitive tasks. We’ve discussed sips before as a way to resize, rotate, and flip images, but if sips is combined with wildcards it can … Read More

Add a File Extension to a Group of Files from the Command Line in OS X

Nov 22, 2012 - 6 Comments

The quickest way to add a file extension to a group of files that don’t currently have one is by using the command line in Mac OS X. In the example below, we’ll add a “.txt” extension to all files in a single directory, but subbing .txt in the command string will add a different … Read More

Compare Contents of Two Directories from the Command Line

Nov 8, 2012 - 8 Comments

To compare and list the different contents of two directories without the extra output you get through commands like diff, you can use the comm command instead. To get started, launch Terminal and type the following command, adjusting the directory paths as appropriate: comm -3 <(ls -1 folder1) <(ls -1 folder2) The output listed will … Read More

Start a Time Machine Backup on a Remote Mac with SSH

Nov 5, 2012 - 3 Comments

Time Machine backups can be triggered remotely thanks to SSH (Remote Login) and the command line. This is an excellent solution to use if you left the home or office without making an important backup, though the SSH requirement does add a potential layer of complexity that may make it more appropriate for advanced users. … Read More

How to Disable the Mac Boot Chime Completely

Nov 4, 2012 - 38 Comments

If you’re a Mac owner you know that every time the Mac reboots or starts up it makes a startup chime sound. Though you can temporarily mute the chime by holding down the Mute key on any Mac keyboard, you can also choose to disable it completely by turning to the command line. Launch Terminal, … Read More