Use pkill -f, which matches the pattern for any part of the command line
pkill -f my_pattern
Related Posts
How to connect as root (sudo) using WINSCP
USE the SCP protocol Test connecting with WINSCP using using the SCP protocol and the…
Turn off monitor using command line
The xset command mentioned in other answers will turn off all the monitors if you have multiple…