pkill

pkill#

Kill processes by name / pattern.

$ pkill nginx
$ pkill -f 'python.*worker'
$ pkill -HUP -u www-data