Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, Glad to have found this site. I'm a Linux newbie and I'm trying to kill a process using the kill -9 (PID) however receive a "Operation not permitted" ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    1

    Kill -9 (PID) command does not work

    Hi all,


    Glad to have found this site. I'm a Linux newbie and I'm trying to kill a process using the kill -9 (PID) however receive a "Operation not permitted" message. I've scoured to net to find a solution, but no luck. I just want this process terminated, any help or advice is greatly appreciated.

    Thanks,

    JP

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Welcome to the forums, johncp!

    It's probably a permissions issue because you can't kill a process that is not your own. However, the superuser can kill any process.

    Run man kill for more about the kill command.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958

    killall "name"

    instead of doing a kill PID you can use "killall X" with X being the name of the software...this way you don't have to find the PID of the program. Also you can do sudo killall X and you'll have more permissions

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...