0

I have a aim of killing all processes (Using killall -u myuser) and then restart some processes. The problem is when the script reaches killall -u myuser it just terminates.

How can I terminate everything (Same as killall -u myuser) but not the script one.

1 Answer 1

-1

I think

killall -u myuser --ignore-case <script-name>

should do the trick

1
  • This is wrong. You're killing only the script and nothing else. It's the opposite of what OP wants. Nov 12, 2014 at 12:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .