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 Install Updated Python 3.6.x on Mac

Jun 13, 2018 - 7 Comments
Install Python 3 on Mac

Python is a popular programming language that is widely used by beginners and longtime developers alike. Modern Mac OS versions come with Python 2.7.x installed (or Python 2.6.1 if an older Mac OS X version), but many Python users may need to update Python in Mac OS to a newer version like Python 3.6.5. This … Read More

How to Fix “Command Not Found” Errors in Mac Command Line

May 24, 2018 - 1 Comment
Fix command not found error messages in Terminal for Mac

Advanced Mac users that utilize the command line may occasionally encounter a “command not found” error message when attempting to run something in the command line. The “command not found” error in the Terminal can surface for several reasons in the command line of MacOS and Mac OS X, as we’ll discuss here, and of … Read More

How to View & Remove Extended Attributes from a File on Mac OS

May 3, 2018 - 1 Comment
Terminal in macOS

Extended Attributes are metadata components that can be unique to specific files and file types on Mac OS. Those extended attributes can be anything from identifying data about the file itself, to quarantine information, origin data, label information, amongst other types of metadata. Sometimes, advanced Mac users may review extended attributes for a file, or … Read More

How to Write Image Files to SD Card with dd from Command Line of Mac or Linux

Apr 18, 2018 - 1 Comment
Terminal in macOS

Need to write an image file to an SD card? The command line ‘dd’ tool can do that for you, writing a disk image .img file to an SD card with minimal effort. A nice perk to using ‘dd’ for writing image files to an SD card is that it works for Mac OS as … Read More

How to Exclude a Word with grep

Apr 5, 2018 - 2 Comments
Terminal in macOS

The grep command line tool is wildly useful for searching through text data for lines and snippets that match a defined string, character, word, or regular expression. While most uses of grep are for sorting data for syntax matches, what if you want to exclude a word or string with grep instead? Excluding line matches … Read More

How to Run 64-Bit Only Mode Mac OS

Apr 4, 2018 - 9 Comments
How to run MacOS in 64-bit only mode

Advanced Mac users, administrators, and developers who wish to test Mac OS in 64-bit mode can do so with the help of a terminal command. Essentially this will only allow 64-bit applications and processes to run on the Mac, which can be helpful for discovering what (if any) apps, tasks, components, processes, and items may … Read More

9 of the Best Homebrew Packages for Mac

Mar 26, 2018 - 14 Comments
Top Homebrew packages for Mac

If you’re an advanced Mac user who spends a considerable amount of time at the command line, you likely have Homebrew installed by now. So, how about sharing a list of some of the best Homebrew packages available for Mac users?

Stupid Terminal Tricks: The Dancing ASCII Party Parrot

Mar 23, 2018 - 3 Comments

Want to horse around in the Terminal? If you have already finished watching Star Wars in ASCII from the command line, you have Rickrolled the Terminal dozens of times, and you’re done watching The Matrix style scrolling screens of text gibberish, and the scrolling screens of poop emoji is no longer cutting the mustard, perhaps … Read More

How to Show the Expanded Print Details Dialog in Mac OS by Default

Mar 19, 2018 - 14 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 - 11 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 - 5 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 - 4 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

Subscribe to OSXDaily

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

Tips & Tricks

News

iPhone / iPad

Mac