Use pkill -f, which matches the pattern for any part of the command line
pkill -f my_pattern
Related Posts
How can I check /dev/xvda1?
You can check or run fsck on /dev/xvda1 using the following method on Ubuntu or…
Which one is better: using ; or && to execute multiple commands in one line?
Cheatsheet: A; B Run A and then B, regardless of success of A A &&…
