What Is Sighup in Linux?
Contents on Posix-Compliant Platforms, Sighup (“Signal Hang Up”) Is a Signal Sent to a Process When Its Controlling Terminal Is Closed. (It Was Originally...
Contents
On POSIX-compliant platforms, SIGHUP (“signal hang up”) is a signal sent to a process when its controlling terminal is closed. (It was originally designed to notify the process of a serial line drop.) SIGHUP is a symbolic constant defined in the header file signal. h .
What is SIGHUP used for?
The SIGHUP (“hang-up”) signal is used to report that the user’s terminal is disconnected, perhaps because a network or telephone connection was broken.
Must Read
How send SIGHUP signal Linux?
3. Send Signal to a Process from Keyboard
- SIGINT (Ctrl + C) – You know this already. Pressing Ctrl + C kills the running foreground process. This sends the SIGINT to the process to kill it.
- You can send SIGQUIT signal to a process by pressing Ctrl + or Ctrl + Y.