Originally Posted by win32sux
Which one is better?
is more “portable” in the sense that pkill
usually does almost the same thing on Linux, Solaris, and BSD. The killall
utility of linux is different from the killall
utility of Solaris (the latter will attempt to kill all processes on the system—somewhat like the killall5
utility distributed with some linux versions of init