How do you use killall command to kill a process with spaces?
I tried killall "Parallel desktop" process and it does not recognize that process name.
Killall Safari works fine. Thanks.
killall Parallel\ desktop
Just kill it using Activity Monitor.
If there is more than one, you can kill each with AM.That won't kill all processes with that name. killall will kill every process with a particular name.
If there is more than one, you can kill each with AM.
True, you can do that, but it's easier (for some) to just kill them with one command from Terminal and be done with it.
You can group them by selecting the option, see attached photo. Then just kill the parent.
You're missing the point. What if you have 50 processes under different parents? That's where killall comes into play. Of course, they all roll up to one parent, init, but you don't want to kill that. It's much safer to reboot.
killall 'Parallels Desktop'