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…
Invalid argument: AH00076: Failed to enable APR_TCP_DEFER_ACCEP
In order to eliminate this warning Invalid argument: AH00076: Failed to enable APR_TCP_DEFER_ACCEP Add this…