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

How to Secure Erase Free Space on Mac Drives with OS X El Capitan

Apr 28, 2016 - 11 Comments
Erase free space on a Mac drive from the command line

Many Mac users running a modern version of OS X El Capitan have noticed the Secure Erase Free Space feature has gone missing from Disk Utility. What the “Erase Free Space” feature did (and still does in prior versions of Mac OS X) was overwrite the free space on a drive to prevent file recovery, … Read More

Enable a Confirmation When Deleting Files & Folders with rm Command

Apr 21, 2016 - 5 Comments
Terminal in OS X

Most command line users know that the “rm” command for removing and deleting files is quite powerful, able to delete just about any file imaginable within the file system – whether it should be removed or not. Once you add in wildcards and sudo, rm and srm because exponentially more potent and potentially dangerous, so … Read More

Speed Up Time Machine by Removing Low Process Priority Throttling

Apr 17, 2016 - 13 Comments
Speed up Time Machine

It’s well known that all Mac users should set up Time Machine to automate backups of their computer, and while most Mac users let OS X go about backing up to Time Machine at it’s own pace, which sometimes borderlines on glacial, some users may wish to speed the backup process up a bit. With … Read More

How to Show & Verify Code Signatures for Apps in Mac OS X

Mar 14, 2016 - 1 Comment
Check and verify code signing of apps in Mac OS X

Code signed applications allow security conscious users to verify the creator and hash of a particular app to help confirm it has not been corrupted or tampered with. This is rarely necessary for average Mac users, particularly those who obtain their software from the Mac App Store or other trusted sources since the apps are … Read More

How to Change Launchpad Icon Grid Layout in Mac OS X

Mar 9, 2016 - 11 Comments
Change the Launchpad grid icon count in Mac OS X

Launchpad is the quick application launcher available from the Mac OS X Dock and a keystroke that looks quite a bit like the Homescreen of iOS. By default, the Launchpad app grid usually displays icons in 7 rows and 5 columns of apps, but with a little adjustment from the command line of OS X … Read More

Get a Calendar from Command Line for Any Date, Month, Year

Feb 24, 2016 - 9 Comments
Get a calendar from the command line of Mac OS X

Though just about everyone has our phones glued to us with a dedicated calendar app, for users who spend considerable time in the command line it can be more efficient to stay put rather than stray to another app or pick up a different device to flip around in the calendar and find a given … Read More

Get Weather Reports from the Command Line with finger

Feb 18, 2016 - 21 Comments
Get weather forecast from the command line with finger

There’s no shortage of methods to retrieve a weather report, the web is full of weather resources, everyones iPhone, Apple Watch, and smartphone has a weather app, Siri can tell you the weather, and you can even get the current weather in the menu bar of OS X or from Spotlight on the Mac too. … Read More

How to View & Clear the Mac NVRAM Contents from Terminal in OS X

Dec 16, 2015 - 1 Comment
Terminal in OS X

Advanced Mac users may find it necessary to view or directly manipulate firmware variables found within NVRAM on the computer. Typically the NVRAM contains specific system data about things like the system audio level, startup disk details, an active user name, screen backlighting and resolution, and other technical details. While most users have no business … Read More

Get MacBook Battery Life Percent Time Remaining from Command Line in Mac OS X

Dec 10, 2015 - 2 Comments
Get Mac Battery Life from the Command Line in OS X

While most Mac laptop users will rely on the battery percentage indicator found in the menu bar of OS X, those who spend a lot of time at the command line may find it useful to know that MacBook battery life and battery charge percentage remaining information can be retrieved directly from the Terminal in … Read More

How to Flush DNS Cache in OS X El Capitan

Nov 16, 2015 - 14 Comments
Terminal in OS X

If you adjust DNS settings on a Mac and the changes seemingly haven’t taken effect, or perhaps you discover that a given name server address is not resolving as intended, flushing the DNS cache is often a quick resolution. Flushing DNS cache in OS X El Capitan (10.11 or later) is easily possible with a … Read More

How to Verify & Repair Permissions in OS X El Capitan

Nov 4, 2015 - 46 Comments
verify-repair-permissions-mac-os-x-command-line1

The Disk Utility app has long contained the ability to verify and repair disk permissions on a Mac, but in the latest versions of OS X this ability has been removed. That doesn’t mean you can’t verify permissions and repair permissions in OS X El Capitan 10.11 and later however, you just need to turn … Read More

How to Enable TRIM on Third Party SSDs in Mac OS X with trimforce

Oct 29, 2015 - 31 Comments
Using trimforce to enable TRIM in Mac OS X

For Mac users who utilize third party SSD volumes, the new trimforce command allows OS X to forcibly enable the TRIM function on those drives. trimforce is built directly into newer releases of OS X and is really quite easy to enable (or disable), requiring a quick visit to the command line and a reboot … Read More

Subscribe to OSXDaily

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