kill [-SIGNAL] PID… sends the given signal to all the given process IDs (except for signals 0, SIGKILL, SIGSTOP and SIGTSTP, which sends the given signal to the kernel). For example, kill -TERM 123 sends SIGTERM to the process with ID 123. Each process can either “trap” the signal or let the kernel perform the default action on the process, as documented in man 7 signal.


This page is a preview of The newline Guide to Bash Scripting

No discussions yet. Be the first. All notification go to the author.