terminal

Search terminal

How to Install Homebrew on Mac

Mar 7, 2018 - 31 Comments
How to install Homebrew on Mac

Advanced Mac users may appreciate using the Homebrew package manager, which greatly simplifies the process of installing command line software and tools on a Mac. For example, if you want to easily install favorite command line tools on a Mac like cask, htop, wget, nmap, tree, irssi, links, colordiff, or virtually any other familiar unix … Read More

How to Use diff to Compare Two Files at Mac Command Line

Feb 6, 2018 - 6 Comments
Use diff to compare files at the command line

Need to quickly compare two files for differences? The command line ‘diff’ tool offers a great choice for users comfortable with the Terminal. Diff allows you to easily compare two files, with the command output reporting back any differences between the inputted files. The diff command is available by default on the Mac, and it … Read More

Get Terminal for iOS to Bring the Command Line to iPad and iPhone

Jan 8, 2018 - 27 Comments
Terminal for iOS via iCloud Drive on Mac

Ever wished you had a native command line in iOS? You know, like a Terminal app for iPad and iPhone? Wish no more, the aptly named Terminal for iOS is here, and it’s free! Terminal is a sandboxed command line environment for iOS that has over 30 commands currently available, covering many of the most … Read More

How to Install & Use SF Mono Font on Mac with Other Apps

Jan 7, 2018 - 9 Comments
Install SF Mono on Mac

SF Mono is a really nice monospaced font available to Mac users within Terminal and Xcode, but you may have noticed that SF Mono is not available outside of those two apps. If you’d like to use SF Mono font elsewhere in MacOS and in other Mac apps, follow the instructions below to install the … Read More

How to Count Lines of a File by Command Line

Jan 2, 2018 - 2 Comments
Count lines of a file by command line

Need to get the line count of a text file or document? Counting lines of any file is easy at the command line, and the command for line counting is the same in all modern Unix based operating systems, meaning this line counting trick will work the same on Mac OS and Mac OS X, … Read More

How to Use Touch ID to Authenticate sudo on Mac OS

Nov 22, 2017 - 9 Comments
sudo with Touch ID on a Mac

If you have a Touch Bar equipped MacBook Pro and you’re a frequent command line user, you may appreciate a trick that allows you to use Touch ID to authenticate sudo and su, rather than typing out your password in the Terminal like some kind of digital neanderthal.

How to Access iCloud Drive from Command Line in Mac OS

Nov 16, 2017 - 9 Comments
Access iCloud Drive from Terminal in Mac OS

Some Mac users may need to access iCloud Drive from the Terminal in Mac OS. But if you have tried to access iCloud Drive via command line on your own, you may have noticed it does not appear in the user Home directory. This is because iCloud Drive is actually locate elsewhere in Mac OS, … Read More

How to Shutdown a Mac from Terminal

Aug 13, 2017 - 20 Comments
Shutdown a Mac from Command Line

Advanced Mac users may wish to shut down a computer from the command line. This can be helpful for remote administration with ssh, in situations where a Mac is booted into Single User Mode, or many other circumstances of troubleshooting and systems administration. There are several ways to shut down a Mac from the command … Read More

Access Maps from the Command Line Rendered in ASCII with Mapscii

Jun 23, 2017 - 5 Comments
Ascii maps command line

Have you ever wished you could access a mapping application from the command line? Now you can with Mapscii, which is sort of like Google Maps or Apple Maps but for the Terminal, with all of the mapping data rendered in ASCII text and characters.

How to Exit the MAN Command and Quit Man Pages Properly

Jun 2, 2017 - 10 Comments
How to exit MAN command

The “man” command is short for manual, and with it you can summon detailed manual page and information on nearly any other command or command line utility that is available, including using an extensive man document search to find related manual pages. While man pages are frequently used and referenced, many users don’t know how … Read More

How to Access Terminal via Recovery Mode for Mac

May 18, 2017 - 6 Comments
Terminal in macOS

Some more advanced Mac troubleshooting and diagnostics techniques require a user to access the Terminal from Mac OS Recovery Mode. We’ll show you how to quickly access the command line while a Mac is booted into Recovery Mode.

How to Change File Extensions of Files via Command Line in Mac OS

May 12, 2017 - 6 Comments
Moving cursor by word at command line of Mac Terminal

Command line users may find it helpful to change and rename the file extension of a group of files in a directory. For example, let’s say you have a batch of files with the file extension “.txt” but you want all of those the file extensions to be “.py” instead. That’s what we’re going to … Read More

How to Check XProtect Version in Mac OS

May 1, 2017 - 16 Comments
Check XProtect Version on Mac

Need to know what version of Gatekeeper and Xprotect are installed on a Mac? You can find this information through the command line of Mac OS. GateKeeper, MRT (Malware Removal Tool), and XProtect are all built-in features of Mac OS designed to prevent malware threats and other nefarious software from being installed or used on … Read More

How to SSH on Mac with the Native SSH Client

Apr 28, 2017 - 17 Comments
Using SSH on a Mac

Did you know the Mac has a native SSH client built directly into the command line? This ssh client allows for secured connections and remote logins into other machines. Unlike Windows, you won’t need a third party app to utilize SSH for connections into remote computers and devices, because ssh is built directly into Mac … Read More

How to Get the Size of a Directory from Command Line

Mar 9, 2017 - 7 Comments
Get the size of a directory by command line

Want to see the size of a directory from the command line? You may have noticed that using the traditional ls command to list the contents of a a directory won’t necessarily show the total size of a directory. Instead, to see what the disk usage is for a specific directory you’ll want to use … Read More

How to Clear & Reset DNS Cache in MacOS Sierra

Mar 8, 2017 - 10 Comments
How to clear DNS cache in macOS Sierra

Mac OS users who have modified their DNS settings may need to clear their DNS cache before the changes take effect. Additionally, sometimes name servers and domains may not resolve as intended if you have stale DNS cache on the Mac, another situation where resetting DNS cache can often be the solution. We’ll show you … Read More

How to Disable Webcam / FaceTime Camera on Mac Completely

Mar 1, 2017 - 37 Comments
How to disable Mac camera completely

Some of the more privacy conscious Mac users out there might put tape over their webcam or use apps like Oversight to detect camera activity. While either of those approaches can be satisfactory for many users (or considered totally paranoid and overboard to others), many advanced Mac users in the security community go a step … Read More

How to View FileVault Progress When Encrypting a Mac Disk

Feb 8, 2017 - 3 Comments
Check Filevault encryption progress

Using Filevault on a Mac encrypts the entire hard drive and helps protect personal data from theft or unauthorized snooping. It’s a great security feature that many users enable when they’re first setting up their Mac, but some users may enable it or disable it later as well. There’s certainly nothing wrong with that, but … Read More

Subscribe to OSXDaily

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

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site