Foundations
Signal
Also: SIGTERM, SIGKILL
A short message the operating system sends to a process, such as a request to stop.
In more detail
kill sends SIGTERM by default, a polite request the process can handle and clean up after. kill -9 sends SIGKILL, which ends the process immediately with no cleanup. Prefer the polite one and check what you are stopping first.
