Skip to content

ringomdm/macos-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 

Repository files navigation

macos-utils

System Info

  • sw_vers - print macOS system version information
  • SystemVersion.plist

macOS Install

  • softwareupdate - system software update tool
  • /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/
    • createinstallmedia - create macOS USB installer
    • startosinstall - install macOS - Cheat Sheet

System Settings

  • languagesetup - Set the primary language for the system
  • cfprefsd - defaults server
  • systemsetup - configuration tool for certain machine settings in System Preferences
  • sysadminctl
  • .GlobalPreferences.plist
  • fdesetup - FileVault configuration tool
  • kextstat - display status of loaded kernel extensions (kexts)
  • systemextensionsctl - System Extensions control
  • launchctl - Interfaces with launchd
  • launchd - System wide and per-user daemon/agent manager
  • com.apple.loginwindow.plist
  • bputil - Utility to precisely modify the security settings on Apple Silicon Macs
  • bless - set volume bootability and startup disk options
  • plutil - property list utility
  • PlistBuddy - read and write values to plists

Network

  • ifconfig - configure network interface parameters
  • hostname - set or print name of current host system
  • networksetup - configuration tool for network settings in System Preferences
  • scselect - Select system configuration "location"
  • kickstart
  • wdutil - Wireless Diagnostics command line utility
  • airport - [deprecated]
  • sysctl - get or set kernel state
  • route - manually manipulate the routing tables
  • netstat - show network status
  • ipconfig - view and control IP configuration state
  • traceroute - print the route packets take to network host
  • nc - arbitrary TCP and UDP connections and listens
  • tcpdump - dump traffic on a network
  • socketfilterfw - Application Firewall daemon
  • networkQuality - Network quality testing tool

Samba

  • smbutil - interface to the SMB requester
  • nsmb.conf - configuration file for SMB requests

Printers

  • lpadmin - configure cups printers and classes

Power settings

  • pmset - manipulate power management settings
  • caffeinate - prevent the system from sleeping on behalf of a utility
  • .GlobalPreferences.plist
  • powermetrics

Users

  • com.apple.loginwindow.plist
  • chflags - change file flags
  • sc_auth - SmartCard authorization setup script

Directory

  • dscl - Directory Service command line utility
  • dseditgroup - Manipulate group records with the Open Directory API
  • klist - list Kerberos credentials
  • app-sso - A tool used to control and get information about the Kerberos SSO extension

MDM

  • profiles - Profiles Tool for macOS
  • mdmclient - MDM (Mobile Device Management) client

Storage

  • diskutil - modify, verify and repair local disks
  • gpt - GUID partition table maintenance utility
  • fsck_apfs - APFS consistency check
  • fsck - filesystem consistency check and interactive repair
  • dd - convert and copy a file
  • mount - mount file systems
  • umount - unmount filesystems

Spotlight

  • mdutil - manage the metadata stores used by Spotlight

Time Machine

  • tmutil - Time Machine utility

Software Intallation

  • pkgutil - Query and manipulate Mac OS X Installer packages and receipts
  • installer - system software and package installer tool
  • xattr - display and manipulate extended attributes
  • csrutil - Configure system security policies
  • spctl - SecAssessment system policy security
  • productbuild - Build a product archive for the macOS Installer or the Mac App Store

Processes & Files

  • top - display sorted information about processes
  • ps - process status
  • kill - terminate or signal a process
  • killall - kill processes by name
  • log - Access system wide log messages created by os_log, os_trace and other logging systems
  • fs_usage - report system calls and page faults related to filesystem activity in real-time
  • dtruss - process syscall details. Uses DTrace
  • audit - audit management utility

About

Built-in macOS utilities

Resources

Stars

Watchers

Forks