Check whether a process exists and whether you can signal it.
Section: Signals Reference and Delivery
Test whether PID exists
bash
bash
kill -0 1234Explanation
Check whether a process exists and whether you can signal it.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Signals Reference and Delivery