Command Line

Search Command Line

How to Remove a Symbolic Link (Symlink)

May 25, 2016 - 5 Comments
Remove a symbolic link with unlink or rm command

Removing a symbolic link is achieved through the command line, and as we’ll show you, there actually two different ways to undo a soft link. This is aimed at users who spend a lot of time at the command line, but for the less familiar, symbolic links are used in Linux, Mac OS X, and … Read More

How to Change Sudo Password Timeout in Mac OS X

May 5, 2016 - 1 Comment
Change the sudo timeout

Advanced users who spend a fair amount of time in the command line may wish to adjust their sudo password expiration to be more secure (or less secure, by extending the password grace period timeout). Typically this means removing any password timeout so that the default five minute password cache is abandoned, thus requiring the … Read More

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

Apr 28, 2016 - 15 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

Check Packages for Expired Certificates in Mac OS X

Apr 12, 2016 - 8 Comments
package-file-mac

Many Mac users will download package files of combo updates or other software in order to install them on multiple computers, thereby avoiding updating with the Mac App Store. This is particularly common with Mac systems administrators, where it makes more sense to download a single package update or installer once and distribute it over … Read More

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

Mar 14, 2016 - 3 Comments
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 Convert plist Files to XML or Binary in Mac OS X

Mar 10, 2016 - 2 Comments
Convert a plist file to XML or binary in Mac OS X

Plist files contain preference specifics and properties relevant to a particular application or portion of Mac OS X system software. Depending on where the plist file is located and what function they serve, they can either be in XML format, binary format, and sometimes even json. For users who need to modify a plist file … Read More

The Mac Hosts File: How to Modify /etc/hosts in OS X with TextEdit

Feb 29, 2016 - 12 Comments
How to Edit the hosts file in TextEdit in Mac OS X

The Mac hosts file is a system level file located at /etc/hosts which maps IP addresses to host names for Mac OS X networking. Many users edit and modify the hosts file so that they can point a domain to a different IP address, whether for the purpose of local development, blocking sites, or simply … 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

Subscribe to OSXDaily

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