Use pkill -f, which matches the pattern for any part of the command line
pkill -f my_pattern
Related Posts
W: GPG error
- problem: W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because…
PHP code is not being executed, instead code shows on the page
For php7.4 sudo a2enmod proxy_fcgi setenvif sudo a2enconf php7.4-fpm sudo service apache2 restart