kill -0 checks whether a process exists
@ssnarwhal0555-ctrl▲ 5 net votes
kill -0 <pid> sends no signal; it just reports whether the process exists and you may signal it.
kill -0 <pid> sends no signal; it just reports whether the process exists and you may signal it.