killall -u alice

Category: Administration

killall -u alice

Terminate every process owned by a user

killall -u alice sends TERM to all of alice's processes at once, effectively logging her out and discarding unsaved work. This is a blunt instrument, so check who is affected with pgrep -u alice first. Add -9 to force-kill anything that ignores TERM.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.