macOS Commands

Mac commands are rarely unique: most of them are inherited from Unix operating systems. If you’re familiar with one of the common Linux or Unix-like operating systems, you probably know all the basic MacOS commands you’ll need.

Uniquely MacOS Commands

These commands are found only on Mac platform (and not Linux), some originating from BSD:

  • softwareupdate – controlling updates in your MacOS
  • dscacheutil
  • hdiutil – manipulating disk images (attach, verify, create)
    • ISO to USB on MacOS
  • diskutil – disk and partitions manager
    • how to list disk partitions with diskutil
    • how to rename partition with diskutil
  • sw_vers – confirm MacOS version
  • scutil – manage system configuration
    • how to change hostname with scutil
  • networksetup – network configuration tool
  • kextstat – list kernel extensions in macOS
  • kextfind – find kernel extension files in macOS - Find kernel extensions in macOS

macOS Releases

  • macOS Catalina

See Also




Keep Learning with Me

Follow me on Facebook and Twitter or jump into Telegram chat!:
Recommended Software
I use Brave browser, it's awesome: Brave Browser I'm also a fan of SetApp for macOS: SetApp for macOS
IT Consultancy
I'm a principal consultant with Tech Stack Solutions. I help with cloud architectrure, AWS deployments and automated management of Unix/Linux infrastructure. Get in touch!

Recent Tweets