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

Follow me on Facebook, Twitter or Telegram:
Recommended
I learn with Educative: Educative
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