I see from many place the follow command is used to check if a process exists, e.g.
killall -0 nginx
But from the documentation I can't see anything related to this argument, can anyone explain?
I see from many place the follow command is used to check if a process exists, e.g.
killall -0 nginx
But from the documentation I can't see anything related to this argument, can anyone explain?
man kill
killall
kill processes by name instead of PID on Linux & BSD-based systems. In other Operating Systems (Solaris), thekillall
command is used to terminate all running processes.