Kill process command line

Posted:
in Mac Software edited January 2014
Hello everyone, can anyone tell me what batch command I must use to kill a process.

I'm on Mac OS X 10.4 Tiger PPC and Mac OS X 10.5 Leopard.

Comments

  • Reply 1 of 1
    MarvinMarvin Posts: 14,200moderator
    Quote:
    Originally Posted by mourad View Post


    Hello everyone, can anyone tell me what batch command I must use to kill a process.

    I'm on Mac OS X 10.4 Tiger PPC and Mac OS X 10.5 Leopard.



    You're going to kick yourself when you find out it's the command called 'kill'.



    You get the process id (pid) for the process you want (you can find this in the Activity Monitor) and just type:



    kill 47



    if the pid is 47. You can kill a process from the Activity Monitor too btw. If it's a command running in the terminal you want to kill, you can hit ctrl-c.



    If you need to force-quit something, you can use kill -9 47
Sign In or Register to comment.