Command Line

The command line interface is an alternate method of interacting with macOS and Mac 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 Show the Expanded Print Details Dialog in Mac OS by Default

Mar 19, 2018 - 11 Comments
How to show the expanded Print dialog always in Mac OS

Do you frequently access the detailed printing options when printing from a Mac? If so, you’ll really appreciate this trick to always show the expanded print dialog window and settings screen.

Get Instant Command Line Access from Anywhere in Mac OS with iTerm2

Mar 14, 2018 - 9 Comments
Access a command line from anywhere on the Mac

If you’re a command line user, you can imagine that it’d be useful to have a Terminal window available instantly to you from anywhere on the Mac, whether you’re currently in the Finder, Safari, Xcode, or any other application entirely. Well there’s no need to imagine, with iTerm you can have an instantly available terminal … Read More

How to Install Homebrew on Mac

Mar 7, 2018 - 2 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 - 3 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 - 13 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 Count Lines of a File by Command Line

Jan 2, 2018 - Leave a Comment
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 Reset DNS Cache in macOS High Sierra

Dec 18, 2017 - 4 Comments
Terminal in macOS

Need to reset and clear DNS cache in macOS High Sierra? Some Mac users may need to occasionally reset their local DNS cache, typically because the Mac DNS settings have changed, or a particular name server or domain is cached and they need to flush existing DNS cache. While it’s most often web developers, systems … Read More

How to Use Touch ID to Authenticate sudo on Mac OS

Nov 22, 2017 - 6 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 - 6 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 Skip Converting to APFS When Installing macOS High Sierra

Oct 17, 2017 - 25 Comments
How to skip APFS when installing macOS High Sierra

MacOS High Sierra includes the all new APFS file system, which is arguably one of the most significant new features introduced in the new Mac operating system update. Nonetheless it’s possible that some Mac owners with SSD volumes will want to not convert the existing HFS+ file system to APFS file system when installing macOS … Read More

How to Determine File Encoding in Mac OS by Command Line

Sep 2, 2017 - 3 Comments

You can determine a files encoding and character set through the command line in Mac OS (and linux) by using the “file” command, which helps to retrieve general and specific information about a file type.

How to Disable MultiTouch on Magic Mouse for Mac

Aug 17, 2017 - 5 Comments

The Mac Magic Mouse with multi-touch is fantastic for many users, allowing you to swipe and scroll around through documents by touch alone, but some people may find that they accidentally trigger touch gestures or other scrolling behavior they don’t want. This happens more often than you might think, particularly for people who have come … Read More

Subscribe to OSXDaily

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

Tips & Tricks


iPhone / iPad