click below
click below
Normal Size Small Size show me how
LPI101 - table 5-5
Interactive signals
| Question | Answer |
|---|---|
| What is HUP? | *1* Hang up. This signal is sent automatically when you log out or disconnect a modem. It is also used by many daemons to cause the configuration file to be reread. |
| What is INT? | *2* Interrupt; stop running. This signal is sent when you type Ctrl-C. |
| What is KILL? | *9* Kill; stop unconditionally and immediately. Sending this signal is a drastic measure, as it cannot be ignored by the process. This is the "emergency kill" signal. |
| What is TERM? | *15* Terminate, nicely if possible. This signal is used to ask a process to exit gracefully. |
| What is TSTP? | *20* Stop executing, ready to continue. This signal is sent when you type Ctrl-Z. (See the later section "Shell Job Control" for more information.) |
| What is CONT? | *18* Continue execution. This signal is sent to start a process stopped by SIGTSTP or SIGSTOP. (The shell sends this signal when you use the fg or bg commands after stopping a process with Ctrl-Z.) |