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 com.apple.mouse.scaling
  • Set New value

    defaults write -g com.apple.mouse.scaling your_mouse_speed

May need reboot.

John Siu
Minimize the Effort, Maximize the Effect!
comments powered by Disqus