Commands

launchctl

lists all running agents and daemons

launchctl list

#  prints out the root daemons, and only the root deamons.
sudo launchctl list

# one liner to get all the active daemons and their plist paths
grep -B 1 -A 1 "active count = 1$" <<< "$(launchctl dumpstate)"

# Removing Launch Agents & Services from launchd in OS X
launchctl remove com.annoying.service

# Loading an Agent Back into launchd
launchctl load com.example.service.to.load

Paths

Notification Agents

~/Library/Application Support/

Loaded or Unloaded launch agents like to hide

Path Desc
~/Library/LaunchAgents Per-user agents provided by the user
/Library/LaunchAgents Per-user agents provided by the administrator.
/Library/LaunchDaemons System wide daemons provided by the administrator.
/System/Library/LaunchAgents OS X Per-user agents.
/System/Library/LaunchDaemons OS X System wide daemons.

Startup Items

/System/Library/StartupItems macOS-related StartupItems
/Library/StartupItems third-party application related