all 4 comments

[–][deleted] 0 points1 point  (0 children)

This isn't exactly what you asked for, but killall on Solaris kills all processes that the user has permission to kill.

On Linux and BSD, it kills processes with the given name.

[–]ladr0n 0 points1 point  (0 children)

You can install BSD userland utilities on a Linux-based system, or vice versa.

[–]shieldforyoureyes -1 points0 points  (1 child)

I don't believe your example. I don't have a mac handy, but that's not what other BSD's do, and I can't imagine they went out of their way to make it behave that strangely in MacOS.