Terminate processes owned by a specific user.
Section: Users Groups and Sessions
Kill all processes for a user
bash
bash
sudo pkill -u olddeployExplanation
Use carefully on multi-user systems.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Users Groups and Sessions