How to Verify & Repair Mac Disk from Command Line
The Disk Utility application on MacOS has a command line counterpart, that allows Mac users to run disk maintenance and disk administration tasks, including verifying and repairing disks. There are obvious advantages and benefits to using the command line for tasks like this, particularly for troubleshooting scenarios, and remote management, but some advanced users may also simply prefer to use the command line rather than the GUI app of Disk Utility.
Let’s review how you can use the Mac command line to verify a disk on your Mac, and repair it if necessary.