Use pkill -f, which matches the pattern for any part of the command line
pkill -f my_pattern
Related Posts
Change default language – Windows 10 Bash
sudo apt-get install language-pack-en language-pack-en-base manpages sudo update-locale LANG=en_US.UTF8
How do I reload .bashrc (ubuntu) without logging out and back in?
source ~/.bashrc
