Hello,
I found this command or rather a sequence these commands to help search and issue signals defined under kill list.
Please see kill -l for the comprehensive list of Unix defined SIGNALS.
now the cool stuff
ps -aef | grep "text/command signature you wanted to search for" | awk '{print $2}' | xargs kill -2
awk - will search and give you the second column value
xargs - passes the pipelined arguments to the following command - Read from the previous command.
kill -2 - SIGINT
Besides, having fun as usual.
~Dixie Sebastianappan
No comments :
Post a Comment