Command Line

Search Command Line

Changing MAC Address in macOS Big Sur & Monterey with spoof-mac

Sep 5, 2021 - 4 Comments
Mac Terminal icon

If you want to change your MAC address in macOS Monterey or Big Sur, you can use the traditional method to spoof a MAC address, or you can use a slightly easier approach by using a command line tool called spoof-mac. We’ll be covering the mac-spoof method here, which relies on HomeBrew.

Fix Git not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)

Jul 19, 2021 - Leave a Comment
Mac Terminal icon

Some Mac Terminal users may discover git, pip, HomeBrew, and other command line tools may fail or not work as intended with an error message stating “xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)”. Sometimes these command line tools stop working after a macOS system software update, but they worked previously. Fortunately it’s easy to fix … Read More

How to Reset MacOS Password with Terminal

May 11, 2021 - 8 Comments
How to Reset MacOS Password with Terminal

Can’t log in to your Mac because you forgot or lost your user password? That can be stressful, but don’t freak out quite yet. Whether it’s your primary admin password or password to a standard user account on someone else’s mac, you can reset it in a couple of minutes.

Make an Intel Mac Boot Directly to Startup Manager

Feb 26, 2021 - 10 Comments
Terminal in macOS

If you have an Intel Mac, you can make it boot directly into the boot disk options startup manager by issuing an nvram terminal command. This could be helpful for advanced users in particular whether they’re troubleshooting, have dual boot situations with multiple versions of macOS, macOS and Windows 10 in Boot Camp, macOS and … Read More

How to Update Homebrew on Mac

Feb 13, 2021 - 1 Comment
Homebrew for Mac

Want to update Homebrew and your packages? Of course you do! Homebrew is a popular package manager for Mac that easily allows users to install and manage command line tools, apps, and utilities, typically familiar with the Linux and Unix world. Because it’s a package manager, you won’t need to manually build anything from source … Read More

Installing HomeBrew on Apple Silicon Macs Natively Supported

Feb 6, 2021 - Leave a Comment
Install Homebrew on Mac

If you’re a Homebrew fan and an Apple Silicon Mac user, you’ll be happy to discover the latest versions of Homebrew (3.0.0 and beyond) now natively support Apple Silicon architecture. You’ll still need Rosetta 2 to have some packages and formulae to work, but many are already native supported by the command line package manager.

How to Make a MacOS Big Sur ISO File

Dec 14, 2020 - 16 Comments
How to make MacOS Big Sur ISO File

Some advanced users may wish to create an ISO file of the macOS Big Sur installer file (or MacOS Catalina installer, or MacOS Mojave installers for that matter). These can be useful for installing MacOS into virtual machines like VirtualBox and VMWare, and because the resulting installer is an ISO file it can be helpful … Read More

How to Run Homebrew & x86 Terminal Apps on M1 Macs

Nov 18, 2020 - 3 Comments
Mac Terminal icon

If you’re one of the early adopters who acquired an M1 Apple Silicon Mac and find that Homebrew and many other x86 terminal apps don’t yet have support for the new Arm architecture, you’ll be happy to know there’s a fairly simple workaround. The trick is to run a parallel Terminal application through Rosetta. And … Read More

How to Copy at Command Line Showing Progress & Speed Indicator

Nov 9, 2020 - 7 Comments
Terminal in macOS

Ever wished you could see the transfer progress and speed of copying files at the command line? If you’re familiar with the command line of Mac OS, Linux, or any other Unix operating system, you likely use the ‘cp’ or ditto commands to copy files, directories, and other data. The ditto and cp command is … Read More

How to Create macOS Big Sur Beta Bootable USB Install Drive

Aug 14, 2020 - 5 Comments
How to make a macOS Big Sur beta boot installer drive

Advanced Mac users often want to make a boot disk installer for macOS Big Sur beta, allowing for something like a USB flash drive to be used to boot and install macOS Big Sur onto any compatible Mac. Bootable MacOS installer USB drives provide for the ability to clean install macOS Big Sur, update to … Read More

How to Convert a MacOS Installer to ISO

Jul 20, 2020 - 19 Comments
macOS installer ISO

Advanced Mac users may wish to convert a MacOS Installer application into an ISO file. Typically the resulting installer ISO files are used for installing macOS into virtual machines like VMWare or VirtualBox, but they can also be used to burn the ISO to media to create a boot disk. This offers an alternative to … Read More

How to Create a Bootable MacOS Catalina Installer Drive

Jul 14, 2020 - 15 Comments

Some Mac users may wish to create a bootable MacOS Catalina installer drive, typically using a USB flash drive or with another similar small boot disk. Bootable USB installers offer an easy way to upgrade multiple Macs to macOS Catalina, to perform clean installs of MacOS Catalina, to perform maintenance from a boot disk like … Read More

How to List All Cron Jobs on a Mac or Linux PC

Jun 5, 2020 - 7 Comments
Mac Terminal icon

Need to quickly see a list of all cron jobs on a computer? You can easily see all scheduled cron jobs by using the crontab command, and seeing cron data works the same on Mac as well as Linux and most other unix environments too. Perhaps you have a script or task running and you’re … Read More

How to Enable Startup Boot Sound Chime on Newer Macs

Apr 29, 2020 - 12 Comments
How to enable boot chime sound on newer Macs

Want to re-enable the startup boot chime sound effect on a new Mac? You can do that with a command line string entered into the Macs Terminal. As you may know, new Macs default to not making a startup boot chime sound effect, this is in contrast to every prior Mac model which included a … Read More

How to Fix Cron Permission Issues in macOS Big Sur, Catalina, & Mojave

Apr 27, 2020 - 6 Comments
Mac Terminal icon

Some advanced Mac users may have noticed that certain shell scripts with cron, cron jobs, and crontab are either not working at all, or not able to function properly in the newest versions of MacOS, notably Mojave 10.14, Catalina 10.15, macOS Big Sur 11, and later. Depending on the situation, this may be accompanied by … Read More

How to Download Full MacOS Installers from Command Line

Apr 13, 2020 - 52 Comments
How to download full macOS Installer applications from Terminal

Mac users can download full complete MacOS installers directly from the command line. This is an incredibly useful feature particularly if you want to build USB boot drive installers, you manage multiple Macs, or you simply want to have full access to a complete installer application of MacOS for any other purpose. With this particular … Read More

How to Adjust Screen Brightness on Mac from Command Line

Aug 14, 2019 - 2 Comments
Terminal in macOS

Want to change the screen brightness on Mac from the command line? You can use the Terminal to adjust screen brightness to be brighter or dimmer with a few different methods, as we’ll demonstrate here. First we’ll show you a handy way to increase or decrease Mac screen brightness using osascript at the command line, … Read More

How to Fix Unzip Error “End-of-central-directory signature not found”

May 12, 2019 - 4 Comments
Mac Terminal icon

Rarely, you may attempt to unzip a zip archive and come across an error that states “End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this … 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