Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In UNIX, what is the command to kill a process?

Answers were Sorted based on User's Feedback



In UNIX, what is the command to kill a process? ..

Answer / dilipsimha

kill -9 <pid>
this is for force killing
kill <pid>
just try to kill
killall <pname>
this is to kill all instances of a process with name pname

killall -9 <pname>

Is This Answer Correct ?    17 Yes 1 No

In UNIX, what is the command to kill a process? ..

Answer / venkatn_999

kill processid

Is This Answer Correct ?    13 Yes 0 No

In UNIX, what is the command to kill a process? ..

Answer / jagadeeb choudhury

Kill -9 <PID> or Kill -s Kill <PID>
To Kill a process forcibly or definitely kill.

Kill -15 <PID> or kill -s term <PID>
To terminate a Process.



Thanks,
jagadeeb@gmail.com

Is This Answer Correct ?    7 Yes 1 No

In UNIX, what is the command to kill a process? ..

Answer / srinivas kalvacherla

How to terminate process by name in UNIX
kill -9 `ps -ef | grep process_name | grep -v grep |
awk '{print $2}'`

Note that the grep process_name should be the command that
you ran. Also note that the commands after 'kill -9' are
enclosed in backtiks.

Is This Answer Correct ?    7 Yes 1 No

In UNIX, what is the command to kill a process? ..

Answer / vinod b

kill -9 uses SIGKILL signal which should not be used
because its forcible killing ,it cant be blocked or cached .

kill -15 PID will be suitable .else use killall pid as
explained in an earlier ans. kill -15 is a Termination
signal(SIGTERM)

Is This Answer Correct ?    3 Yes 1 No

In UNIX, what is the command to kill a process? ..

Answer / bandi sreekanth

if u want kill process by command

use this

PKILL <COMMAND_NAME>

Is This Answer Correct ?    1 Yes 0 No

In UNIX, what is the command to kill a process? ..

Answer / kiruthiga.s

kill

syntax: kill pid

Is This Answer Correct ?    0 Yes 0 No

In UNIX, what is the command to kill a process? ..

Answer / yuvaevergreen

kill

Is This Answer Correct ?    0 Yes 0 No

In UNIX, what is the command to kill a process? ..

Answer / shiva

kill processid

Is This Answer Correct ?    1 Yes 2 No

In UNIX, what is the command to kill a process? ..

Answer / ketan

Kill $!

kills all the processes

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More Unix Commands Interview Questions

hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command

2 Answers   ACS, Span Systems,


What will the following command do?

0 Answers  


how to find the 51th record of a file containing 100 records in unix.

12 Answers   IBM,


How to display no of records in oracle using unix command?

0 Answers  


how unix kernel distinguishes between a normal file and device file ?

7 Answers   Google, IBM, McAfee, Vodafone,


What is grep command in unix with examples?

0 Answers  


What does pipe () return?

0 Answers  


What is the size of time_t?

0 Answers  


How do you repeat a command in terminal?

0 Answers  


what does a process mean?

7 Answers   Infosys,


what is the meaning of this command rm -rf / what will it do ?

5 Answers   Altair,


What is the basic difference between unix and windows operating systems?

43 Answers   Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,


Categories