terminal

Search terminal

How to Download the Full MacOS Sonoma Beta Installer

Jun 19, 2023 - 5 Comments
Download the full MacOS Sonoma beta installer

Many Mac users are interested in downloading the full installer for MacOS Sonoma beta, but when they go through the typical process of installing the MacOS Sonoma beta and downloading the update from System Settings, they’re given only a smaller stub installer that can not be used for things like making a USB boot install … Read More

How to Remove DS_Store Files from Git Repository

May 30, 2023 - Leave a Comment
Remove DS_Store files from git

If you use git on the Mac platform, you likely have come across DS_Store files in a git repository. These can be annoying and clutter a git repo, and you may even run into unnecessary conflicts due to .DS_Store files being maintained in git repos, where you may see error messages like “The files .DS_Store … Read More

List a Macs Local IP Address History Over Time or from Specific Dates

May 26, 2023 - 3 Comments
Terminal in macOS

If you ever find yourself needing to know a history of a specific Macs assigned local IP addresses, you can find this potentially helpful networking information from the command line. This trick will report all local IP addresses which have been used by a Mac, and, very helpfully, it will also offer the specific date … Read More

How to Find How Many CPU Cores a Mac Has

May 23, 2023 - 2 Comments
Find how many CPU cores a Mac has

Knowing the number of CPU cores a particular Mac has can be useful for performance optimization, stress testing, compatibility, and to otherwise make informed decisions about system performance on a Mac. For example, maybe you want to make sure you have multiple cores available to run a virtual machine, or you want to spawn a … Read More

How to Find Who/What is Listening on TCP Ports on Mac

May 15, 2023 - 1 Comment
What listens on TCP ports on Mac

Occasionally you may find yourself in a situation where you are seeking to find what open TCP connections are in a listening state on a Mac. This can be useful whether you’re troubleshooting particular network issues, or simply looking to identify which processes are listening on specific ports on a Mac. We’ll be using the … Read More

How to Configure & Use Aliases in ZSH

May 13, 2023 - Leave a Comment
Mac Terminal icon

Command line aliases are very useful, allowing you to have command shortcuts for lengthier commands, and you can use them to replace one command with another as well. With zsh becoming the default shell in Terminal for MacOS, and a widely used shell in general thanks to Oh-My-Zsh, you may be wondering how to configure … Read More

How to Install GCC on Mac

May 2, 2023 - 2 Comments
Installing GCC on a Mac

Some Mac users may wish to install GCC onto their MacOS computers. GCC, which stands for Gnu Compiler Collection, is a commonly used compiler with support for C, C++, Objective C, Go, Fortran, Ada, and more languages, and is frequently used for compiling command line programs, writing software, and more, whether for computer science classes … Read More

Fix “brew command not found” on Mac with zsh

Apr 19, 2023 - 12 Comments
Homebrew for Mac

If you’re a Homebrew user who is now experiencing a “zsh: command not found: brew” error message in zsh shell, you’re probably perplexed as to why the brew command line line tool is no longer working. The reason you may be experiencing the command not found error for brew is because the zsh shell is … Read More

How to Mount SMB Share from Command Line on Mac

Feb 13, 2023 - 4 Comments
Mac Terminal icon

Need to mount an SMB network share from the command line of MacOS? There are a few different approaches to mount SMB shares from the command line, and we’ll cover two different methods to mount network shares on the Mac using Terminal.

How to Stop Pages & Numbers Saving to iCloud on Mac by Default

Feb 10, 2023 - 4 Comments
How to Stop Pages & Numbers Saving to iCloud on Mac by Default

If you’re someone who uses Apple’s Pages and Numbers apps to work on documents on your Mac, you’d probably know that the files are saved to iCloud by default. Not everyone wants to store these documents on iCloud and this could be an annoyance to some. Thankfully, you can change this in two different ways.

Open Terminal by Keyboard Shortcut on Mac

Feb 6, 2023 - 4 Comments
Open Terminal by keyboard shortcut on Mac

Ever wished you could instantly launch the Terminal app on Mac by keyboard shortcut? Instead of relying on Spotlight and typing Terminal and hitting return, which works great and has for many years, you can actually create your own custom keyboard shortcut to open the Terminal app on MacOS. This article will detail how you … Read More

How to Install Homebrew on MacOS Sonoma & Ventura

Dec 28, 2022 - 8 Comments
Homebrew on MacOS Ventura

HomeBrew, the command line package manager, has native support for MacOS Sonoma 14 and macOS Ventura 13, so if you have recently updated to macOS Ventura or bought a new Mac with Sonoma/Ventura preinstalled, you’ll probably want to install Homebrew on the Mac running Ventura. Like most command line tools, HomeBrew is intended for advanced … Read More

How to Fix SSH Not Working on MacOS Ventura / Sonoma

Dec 22, 2022 - 12 Comments
How to fix SSH RSA connection issue on Mac

Some Mac users have discovered that SSH is not working on their Mac since updating to macOS Ventura 13 or newer, including Sonoma. Typically they’ll see an error message when attempting to ssh into another server along the lines of “no matching host key type found. Their offer: ssh-rsa“. The apparent reason for this issue … Read More

Take Full Webpage Screenshots on Mac via Command Line with webkit2png

Nov 27, 2022 - 3 Comments
Mac Terminal icon

Ever needed to take a full webpage scrolling screenshot on the Mac through the command line? While there are various approaches to taking full webpage screenshots on a Mac easily with Firefox or another browser, and many ways to take screenshots on the Mac, including taking screenshots from the Terminal, none of the native options … Read More

How to Clear DNS Cache in MacOS Ventura & MacOS Monterey

Nov 21, 2022 - 2 Comments
Mac Terminal icon

Mac users may need to occasionally clear out and flush DNS cache in MacOS, perhaps because they modified their hosts file, or for troubleshooting purposes. Resetting DNS cache on the Mac is generally only needed by advanced users, but even novice Mac users should find the process to be pretty easy, though it is achieved … Read More

How to Open Google Chrome from Terminal on Mac

Nov 19, 2022 - 2 Comments
Google Chrome Icon

Command line users may encounter situations where they’d like to open the Google Chrome web browser directly from the Terminal on the Mac.

How to Allow Apps to be Downloaded & Opened from Anywhere on MacOS Sonoma & Ventura

Nov 17, 2022 - 9 Comments
How to allow apps downloaded from anywhere in MacOS Ventura

Wondering how you can allow apps to be downloaded and opened from anywhere on MacOS Sonoma or Ventura? You may have noticed the ability to select “Allow applications downloaded from anywhere” has been removed by default in MacOS Sonoma & Ventura and other modern versions of MacOS. This does not mean it’s impossible to download … Read More

How to Rename & Move Files with Spaces in Name at Command Line

Oct 21, 2022 - 1 Comment
Interact with file name that contains spaces in the command line on Mac

If you’re new to the Mac command line you may have come across a situation where you’re trying to interact with a file that has spaces in the name, for example “This File.txt” but as you probably discovered, you can’t simply type the file name if there are spaces within the file name, or the … 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