how to use kill to kill a batch of processes with same name of the Bash command line for Linux
Example:
kill checkTurboPlatform2.sh# ps aux|grep checkTurboPlatform2.sh|awk 'print $2' |xargs kill -9
or# kill -9 ` ps -e|grep checkTurboPlatform2|awk 'print $1'`
how to use kill to kill a batch of processes with same name of the Bash command line for Linux
No comments:
Post a Comment