Use pkill -f, which matches the pattern for any part of the command line
pkill -f my_pattern
Related Posts
Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.
Samba Error when trying to connect to a shared folder on local ubuntu samba server:…
How do I find the kernel version, Ubuntu release and disk partition information from the terminal?
uname -a # for all info regarding kernel version, uname -r # for exact kernel…