Use pkill -f, which matches the pattern for any part of the command line
pkill -f my_pattern
Related Posts
Mount Windows Share on Ubuntu
$ sudo apt-get install cifs-utils $ sudo mount //WINSRV/SHARE -t cifs -o uid=1000,gid=1000,username=winuser /mnt/path where…
upgrade ubuntu kernel
[apt-get upgrade] warning: The following packages have been kept back: linux-headers-generic-lts-quantal linux-headers-virtual linux-image-generic-lts-quantal linux-image-virtual linux-virtual…
