Welcome to the most active Linux Forum on the web.
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-19-2002, 11:54 PM   #1
fragged one
Registered: Aug 2002
Location: Austin, TX
Distribution: mandrake 9.1
Posts: 98

Rep: Reputation: 15
closing program...........

how do i shut down a hanging program? right clicking and selecting close doesn't seem to work.
Old 12-20-2002, 12:05 AM   #2
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Rep: Reputation: 30
from the shell type :

ps aux

find the corresponding programs pid, and then in the shell type:

kill pid

where pid is the corresponding pid.
Old 12-20-2002, 12:09 AM   #3
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
My lazy way:
killall programname

Example, galeon won't quit:
killall galeon

This is done from a terminal, and doesn't necessarily have to be done by root as long as the program was executed by the user trying to kill it.

Old 12-20-2002, 12:10 AM   #4
Registered: Oct 2002
Distribution: RH 8.0 and fluxbox
Posts: 122

Rep: Reputation: 15
If the regular kill commands won't work you can add the -9 flag. Kill -9 PID or killall -9 program_name
Old 12-20-2002, 07:56 AM   #5
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
or type in xkill in terminal, then click on the program you want killed
Old 12-20-2002, 08:11 AM   #6
Registered: Nov 2002
Location: CH-3416 Affoltern
Distribution: (SuSE 8.0), Mandrake 9.2
Posts: 58

Rep: Reputation: 15
for me, top is first choice.

You have an up to date list of all processes, where you can see which one uses most the processor, you can sort, you can list one users processes... and you can kill easily with k and then the PID enter...

used this many times... , but nice for testing and fooling around

Old 12-20-2002, 03:00 PM   #7
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
Ctrl-Alt-Esc in the desktop.
Old 12-20-2002, 03:12 PM   #8
Registered: Nov 2002
Location: Pennsylvania
Distribution: Mandrake 9.1 and Redhat 9
Posts: 144

Rep: Reputation: 15
use xkill, which I think is under main->applications-.file monitoring->xkill.


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
Network shuts down after closing a network usage program Hockeyfan Linux - Networking 2 11-02-2005 05:02 PM
closing an application from a c program roush Programming 4 04-30-2004 05:14 AM
closing a program true_atlantis Mandriva 6 10-24-2003 10:36 PM
When closing my graphics program & entering the application again the screen is blank armesk Programming 7 08-29-2003 02:16 PM
closing procces dkc_ace Linux - General 7 01-19-2003 03:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:25 PM.

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