Mac OS Commands

Table of Contents

Some Mac OS commands.

Plist content

plutil -p <filename>

Launch Control

launchctl list # List services
launchctl load <plist file> # Start service
launchctl unload <plist file> # Stop service
System Service Location
  • /Library/LaunchDaemons/
  • /System/Library/LaunchDaemons/

Change Hostname

sudo scutil --set HostName <hostname>

Mouse Speed

  • Get Current
defaults read -g
  • Set New value
defaults write -g your_mouse_speed

May need reboot.


Get address of hostname

dns-sd -G v4v6 <hostname>

Kernel Extension

  • List all kernel extension
  • List all non-Apple extension
kextstat | grep -v
John Siu
Minimize the Effort, Maximize the Effect!
comments powered by Disqus