The Garden
Showing 1 of 7 notes.
- Why did pkill -f cat close every app on my Mac? 🌱 seedling · EN · VI
One of my AI agents wanted to clear a hung cat, so it typed pkill -f cat. The -f flag matches the whole command line, and /Applications contains cat, so nearly every app on the machine got told to quit, the agent's own supervisor included. Counted again on my machine today: 183 processes match, 130 of them only because they live in /Applications. A hook now blocks that kind of command before it runs.