what is the default signal kill in unix?
Answers were Sorted based on User's Feedback
Answer / saket kale
kill is a command used to send a signal to a process which
we want to terminate.The message sent is the termination
signal, which requests that the process exit.
The default signal sent is SIGTERM.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / robin bhan
kill is an internal command used in UNIX . If a command takes more time to get executed than expected, then the user can terminate that program by giving the PID(process id) of that program.
ex. $ sort count.txt ( 'enter')
669 (PID of program sort count.txt returned by kernel)
$
in order to kill or terminate this program command is given as
$ kill 669 ('enter')
$
(above dollar prompt indicates program is terminated)
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / kirus
kill PID
if the pid is 12
kill 12
it will kill the PID 12 if the user is owner of that PID.
The kill cmd sends the signal 15 and th Process terminates
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a Unix signal, and how do you handle them?
How to display a file name which has zero bytes in size.
What does this command do? Cat food 1 > kitty
Who wrote grep?
How do you list the files in an UNIX directory while also showing hidden files?
What is the behavioural difference between cmp and diff commands?
How do I run a bash script?
what is virtual machine?
what is the use of nice command?
what is the difference between KILL and KILL -9?
5 Answers Informatica, Nutanix,
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?
what are filters?