Results 1 to 8 of 8
hi i was wondering ifsome one could tell me how to end a program that is not responding
i know in winxp you just press cntrl alt then del and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-03-2005 #1Just Joined!
- Join Date
- Jul 2005
- Posts
- 33
how to end a program?
hi i was wondering ifsome one could tell me how to end a program that is not responding
i know in winxp you just press cntrl alt then del and then end task but how do you do that in linux ?
tia
jet
- 08-03-2005 #2
Open up another terminal, type:
find your program, find its PID (the number at the very left) and do:Code:su - ps aux
Where 1234 is the PID. If it still hangs, do:Code:kill 1234
Code:kill -9 1234
- 08-03-2005 #3Just Joined!
- Join Date
- Jul 2005
- Posts
- 33
hi m8 cheers for that but i can not see the program in the list m8 .the program is amsn and its not on the list m8 any ideas?
- 08-03-2005 #4Just Joined!
- Join Date
- Jul 2005
- Posts
- 72
Do you know the name of the process? If you do, you can do 'killall [process]', or 'killall -9 [process]' if the former doesn't work. If the command used to run aMSN is 'amsn' (I'm guessing that's the case), then you'd use 'killall amsn' or 'killall -9 amsn' to terminate it.
Also, if you can see the window of the application that's frozen: open a terminal, run 'xkill', and click on the frozen application's window.
- 08-03-2005 #5Linux Engineer
- Join Date
- Apr 2005
- Location
- Belgium
- Posts
- 1,429
Just do $ pidof [application name] (in Slack) or $ pid [application name] (in SuSE afaik), then you get the Process ID. Then just simply do # kill [pid]
.
** Registered Linux User # 393717 and proud of it
** Check out www.zenwalk.org
** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **
- 08-03-2005 #6
If you're in a graphical environment, you can use xkill, which will turn your cursor into a skull and crossbones and kill any window you click on. I believe there's a keyboard shortcut to bring it up (something equivalent to CTRL+ALT+DEL but not that exactly).
Registered Linux user #270181
TechieMoe's Tech Rants
- 08-03-2005 #7Just Joined!
- Join Date
- Jul 2005
- Posts
- 33
cheers m8 the xkill worked perfect m8 cheers for all your help guy
- 08-03-2005 #8
how to end a program under linux
Well, you have to go to the shell and type "kill [process#]"


Reply With Quote
