← Learn
Dangerous
launchctl load -w ~/Library/LaunchAgents/com.example.updater.plist

macos · bash · Expert

Registers a launch agent so it starts at every login, with -w marking it permanently enabled. Launch agents are a supported macOS feature, so the judgement rests entirely on whether you know what that plist runs.

Signals to notice

  • Persistent login item
  • -w makes the registration survive reboots
  • Executes whatever the plist references

Think you can spot these under time pressure?

Start Training

More Persistence