macOS Commands

Basic macOS 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 - flush DNS cache
  • hdiutil – manipulating disk images (attach, verify, create)
    • ISO to USB on MacOS
  • diskutil – disk and partitions manager
  • 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

See Also

Contact Me

Follow me on Facebook, Twitter or Telegram:
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