
5 Apr
2004
5 Apr
'04
3:25 a.m.
Daniel Lawson wrote:
That's a really good point actually, and more people should be made aware of pkill.
pkill -u username
will kill all processes owned by that user.
pkill -u username programname
will kill all proceesses called programname owned by that user.
So killing all of perry's bash processes is easy: pkill -u perry bash.
If you just typed 'killall bash' you'd be likely to kill your own bash process as well!
/me deletes his trusty old killuser.pl script You learn something new every day... -- Matthias