what is the difference between KILL and KILL -9?

Answer Posted / ravi k srivastava

Kill allows the child processes to be killed before parent
process is killed.
Kill -9 forcefully kills the process without giving time to
child processes to be killed. In IPC architecture, its not
good idea to kill forcefully using "-9" option.

Is This Answer Correct ?    24 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is merge command in unix?

940


What does the command ' $who | sort –logfile > newfile' do?

761


Explain how to use grep command to list find the records of a file containing 10 different strings?

588


Is grep faster than awk?

555


What is the difference between cat command and more command?

596






Which command is used to create a directory?

561


What command is used to check the current users?

588


What is sed awk grep?

600


What are grep patterns?

572


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

790


How do I use nslookup?

568


How do I run a whois command?

594


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

949


What is s and g in sed command?

553


What is the behavioural difference between cmp and diff commands?

669