The signal that is sent by the kill command by default is SIGTERM(15). The kill command sends a signal to a process to terminate it. The signal can be specified by name or number as an option to the kill command. If no signal is specified, the default signal is SIGTERM(15), which means terminate. The process can catch this signal and perform any necessary cleanup before exiting. The SIGHUP(1) signal means hang up and is usually sent when the terminal or network connection is disconnected. The SIGQUIT(3) signal means quit and is usually sent when the user presses Ctrl-\ on the keyboard. The SIGKILL(9) signal means kill and is used to force the process to terminate immediately, without any chance to catch the signal or perform any cleanup. References: LPI Exam 101 Detailed Objectives, Topic 103: GNU and Unix Commands, Weight: 25, Objective 103.3: Perform basic file management, kill command, Signal List
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit