LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   closing program........... (https://www.linuxquestions.org/questions/linux-newbie-8/closing-program-38931/)

fragged one 12-19-2002 10:54 PM

closing program...........
 
how do i shut down a hanging program? right clicking and selecting close doesn't seem to work.

oulevon 12-19-2002 11:05 PM

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.

MasterC 12-19-2002 11:09 PM

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.

Cool

ubien 12-19-2002 11:10 PM

If the regular kill commands won't work you can add the -9 flag. Kill -9 PID or killall -9 program_name

NSKL 12-20-2002 06:56 AM

or type in xkill in terminal, then click on the program you want killed
-NSKL

ajk 12-20-2002 07:11 AM

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... :mad:, but nice for testing and fooling around :D

Adrian

Edward78 12-20-2002 02:00 PM

Ctrl-Alt-Esc in the desktop.

blinux1 12-20-2002 02:12 PM

use xkill, which I think is under main->applications-.file monitoring->xkill.


All times are GMT -5. The time now is 04:57 PM.