Sometimes I need to kill Google Chrome (of which I have 2 windows/instances opened). Both instances are not in incognito mode.
What I do is: (on Debian 8)
killall chrome && killall chrome
to have 2 windows of chrome closed.
However I read that killall command should kill all instances of a program, not just one.
So I was wondering: why killall doesn't kill all instances as the name would suggest?
killall
does not mean "kill all these processes" but "send the (implicitly) specified signal to all these processes". See this question: http://unix.stackexchange.com/questions/85364/how-can-i-check-what-signals-a-process-is-listening-to – Hauke Laging Jan 26 '16 at 02:56pkill -P1 chrome
and see if that does what you wish. – bsd Jan 26 '16 at 12:39