The kill command sends a signal to a process and kills the target process.
kill -l | List all known signal numbers, names, and descriptions. |
kill | Kill the controlled process. |
kill job... | Send the SIGTERM signal to the listed jobs. |
kill -signal job... | Send the given signal to the listed jobs. |
where:
%+ | Kill the current job. |
%- | Kill the previous job. |
%number | Kill job number number. |
%string | Kill the job which begins with string. |
%?string | Kill the job which contains string. |