Synopsis:
kill[!] [signal-number|signal-name]
Kill execution of program being debugged.
Equivalent of kill('KILL', $$)
. This is an unmaskable signal. Use this when all else fails, e.g. in thread code, use this.
If you are in interactive mode, you are prompted to confirm killing. However when this command is aliased from a command ending in !
, no questions are asked.
Examples:
kill
kill
KILL
# same as above
kill
kill
# same as above
kill
-9
# same as above
kill
9
# same as above
kill
! 9
# same as above, but no questions asked
kill
unconditionally
# same as above
kill
TERM
# Send "TERM" signal
See also:
See also set confirm
and quit
.