Signal processes matching a name or regex.
Section: Processes Jobs and Scheduling
Kill processes by pattern
bash
bash
pkill -f 'gunicorn: master'Explanation
Convenient when you do not want to look up PIDs manually.
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 Processes Jobs and Scheduling