LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-08-2011, 10:40 AM   #1
jonnynitro138
Member
 
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;
jonnynitro138

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

Rep: Reputation: 50
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, 11:04 AM   #3
jonnynitro138
Member
 
Registered: Jul 2011
Location: tallahasee
Posts: 253

Original Poster
Rep: Reputation: Disabled
Thank you

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

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
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.
 
  


Reply


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 10:39 PM
be sure to kill a program tanoatlq Linux - General 9 04-25-2008 09:54 PM
How to kill my program? kewlchen Linux - General 7 08-12-2003 04:40 PM
cannot kill a program Chooco Linux - General 19 07-23-2003 08:01 AM
Kill a program tunedLow Linux - Newbie 3 10-27-2001 03:51 PM


All times are GMT -5. The time now is 06:47 AM.

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