Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-08-2011, 09:40 AM   #1
Registered: Jul 2011
Location: tallahasee
Posts: 253

Rep: Reputation: Disabled
kill program

How do I kill a non-responsive program like Banshee media player? I'm using the Ubuntu OS.
Thank you;

Last edited by jonnynitro138; 12-08-2011 at 09:47 AM. Reason: Forgot to put which OS I am needing help with.
Old 12-08-2011, 09:51 AM   #2
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
Open a terminal window run the command ps ax find the PID number of the program you want to kill then issue the command kill "PID no" where PID no, is put the PID number so if the program has a PID number of 12345 the command would be kill 12345

Note: Some programs you would need to be root to kill.
1 members found this post helpful.
Old 12-08-2011, 10:04 AM   #3
Registered: Jul 2011
Location: tallahasee
Posts: 253

Original Poster
Rep: Reputation: Disabled
Thank you

Killed program, thank you for the help.
Old 12-08-2011, 01:46 PM   #4
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Note that sometimes just using "kill <PID>" will not work if the program is really unresponsive. If it fails, try "kill -9 <PID>", which directly tells the kernel to just stop running the process. It's better to try the normal way first, though.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot kill program... qwertyjjj Linux - Newbie 1 01-29-2010 09:39 PM
be sure to kill a program tanoatlq Linux - General 9 04-25-2008 08:54 PM
How to kill my program? kewlchen Linux - General 7 08-12-2003 03:40 PM
cannot kill a program Chooco Linux - General 19 07-23-2003 07:01 AM
Kill a program tunedLow Linux - Newbie 3 10-27-2001 02:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration