You're viewing a comment by Thorsen and its responses.

Thorsen Permalink
June 19, 2012, 07:30

@bell
I'm puzzled how your:

kill -9 $(ps -ef | grep [s]earch_string | awk -F " " '{ print $2 }')

works. I mean the "[s]earch_string" bit.

I can see that it results in the grep process being dropped from the result, but just can't see why this is :)

Could you explain? Cheers!

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "0day_195": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.