Command Line

Search Command Line

How to List All Homebrew Packages Installed on a Mac

Oct 20, 2018 - 10 Comments
Install Homebrew on Mac

Want to quickly see all Homebrew packages installed on a Mac? You may already know the path where Homebrew packages are installed to, but you don’t need to list a directory structure to get a list of Homebrew packages that have been installed in Mac OS. Instead, you can issue a simple command to show … Read More

Fix Terminal “Operation not permitted” Error in macOS Sonoma, Ventura, Monterey, Big Sur, Catalina, Mojave

Oct 9, 2018 - 77 Comments
Fix Operation Not Permitted Terminal Error in Mac OS

If you’re a Mac command line user you may have noticed that many frequently used commands entered into the Terminal (or iTerm) result in an “Operation not permitted” error message since updating to MacOS Mojave 10.14 or later, including Sonoma, Ventura, Monterey, and Big Sur. The “Operation not permitted” error in the Terminal can be … Read More

How to Find Windows Product Key via Command in Windows or Linux

Sep 9, 2018 - 43 Comments
How to get a Windows product key

Have you ever needed to find a Windows product key? Maybe you’re troubleshooting a Windows PC, planning on re-installing Windows 10 in a virtual machine, installing on a PC, or installing into Boot Camp on a Mac, or maybe you have a PC computer running Windows that needs the Windows product key for some reason … Read More

How to Get Octal File Permissions from Command Line in Mac OS

Sep 6, 2018 - 4 Comments
Mac Terminal icon

Command line users are likely familiar with using chmod to set file permissions in numerical or octal format, for example running a command like ‘chmod 755 filename’, but have you ever wondered how you can get file permissions in octal format? If you want to see or view the octal numerical value of permissions of … Read More

How to Access a Secret Login Console in Mac OS

Sep 2, 2018 - 8 Comments
Login Console is a Terminal available at login in Mac OS X

Some versions of Mac OS support the ability to login any user account directly to the command line right from the traditional login screen, thereby bypassing the familiar Mac user interface. Instead you’re essentially signing a user directly into the Terminal (a bit like using the ssh client to connect to an SSH server), without … Read More

Where’s the Temp Folder on Mac OS? How to Find & Open the Mac Temporary Directory

Aug 17, 2018 - 4 Comments
Where the TEMP Folder is located on Mac

The Mac operating system has several system level temporary folders which contain temp files used by MacOS itself along with various Mac apps. This temp folders are not intended to be user facing, but in some rare situations an advanced Mac user may find themselves requiring to locate the temp folder and maybe even to … Read More

How to Uninstall Homebrew from Mac OS

Aug 12, 2018 - 8 Comments
How to uninstall Homebrew on Mac

If you have previously installed Homebrew to a Mac and have now decided that you no longer need or want the command line package manager, you can uninstall Homebrew from MacOS and completely remove Homebrew and all installed packages and formula from the Mac. This tutorial will walk through how to completely uninstall Homebrew from … Read More

How to Install FTP on MacOS Mojave & High Sierra

Aug 7, 2018 - 19 Comments
Get and install FTP in Mac OS

Mac command line users may have noticed that FTP is missing from the latest versions of MacOS system software, but despite ftp not being included in newer versions of system software by default, you can still install ftp on Mac OS if you need to use an ftp client or run an ftpd server for … Read More

How to Convert .bin and .cue to ISO on Mac

Aug 5, 2018 - 4 Comments
How to convert bin and cue to iso on Mac

Every once in a while you may encounter .bin and .cue files, or a cue/bin cue sheet, of a disk image, often when downloading old Mac software (or even DOS, Windows, Linux) for a retro machine, for an audio or video disc, or just as a disk image of something. Mac users therefore may need … Read More

How to Start a Simple Web Server in Python 3 on Mac

Jul 30, 2018 - 1 Comment
Start simple web server in Python 3 with http.server command

If you’re a Python user you may already be familiar with the handy trick that allows you to instantly create a simple web server using an easy command string entered in the command line of Mac OS. But if you’re a Mac Python user who has installed or updated to Python 3, then you will … Read More

How to Uninstall Packages with Homebrew

Jul 29, 2018 - 4 Comments
Homebrew for Mac

If you have installed Homebrew on a Mac to use as a package manager for various unix and command line utilities, you’ve probably also installed a handful of packages deemed useful to you. But what if you no longer need one, and you want to remove a particular Homebrew package? It turns out that uninstalling … Read More

How to Find All Hosts on Network with nmap

Jul 24, 2018 - 7 Comments
How to find all hosts on network with nmap

Many advanced users often need to find and list all hosts on a network, often for IP discovery, connecting to a remote machine, or some other system administration or network admin purpose. One of the easiest ways to find all hosts and the host IP addresses on a network is by using the nmap command … Read More

How to Get Telnet for MacOS in Ventura, Monterey, Big Sur, Catalina, Mojave or High Sierra

Jul 18, 2018 - 26 Comments
Get Telnet in Mac OS

Need to use Telnet in MacOS? Well, many Mac users have discovered that Telnet has been removed from modern versions of system software, including macOS Ventura, MacOS Monterey, macOS Big Sur, Catalina, Mojave and macOS High Sierra. Presumably this is to encourage using the ssh client instead, but there are many Mac users who need … Read More

How to Find Where Homebrew Packages Are Installed on Mac

Jul 5, 2018 - 3 Comments
Install Homebrew on Mac

Have you ever wondered where Homebrew puts the binaries from brew packages that are installed on a Mac? If you’re a Homebrew user, you may be interested in knowing where Homebrew puts everything and where to find the installed brew packages in Mac OS. We’ll show you the directory path where Homebrew keeps packages, and … Read More

How to Install Node.js and NPM on Mac OS

Jun 29, 2018 - 17 Comments
How to install NodeJS and NPM on Mac OS

Node JS is the popular Javascript runtime environment that is widely used by many developers, and npm is the accompany package manager for the Node.js environment and Javascript. When you install Node.js, you will find npm is installed as well, thus if you want npm you need to install NodeJS. There are several ways to … Read More

How to Convert ISO to VDI Virtual Box Image

Jun 17, 2018 - 1 Comment
VirtualBox

If you’re a regular VirtualBox user, you may appreciate knowing how to convert an ISO image file (.iso) into a VDI Virtual Box image file (.vdi). Converting an iso to vdi is different from simply booting VirtualBox from an iso, instead it is taking an .iso image, for example of a live boot image, and … Read More

How to Install Python 3 on Mac

Jun 13, 2018 - 20 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.8.x or … Read More

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

May 24, 2018 - 32 Comments
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

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