LinuxQuestions.org
Help answer threads with 0 replies.
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 03-07-2005, 11:59 PM   #1
RichMan1
LQ Newbie
 
Registered: Mar 2005
Location: New Orleans, LA
Distribution: Fedora Core 3
Posts: 20

Rep: Reputation: 0
Force Quitting


Dear All:

Is there a force quit-type keystroke for FC3? CTRL+ALT+DEL only does Logout/Restart/Shutdown, and I wanted to close Firefox because it was being a bad boy and not responding. Is it normal for Linux to conk out on a program every once in a while?

Sincerely,
Richard
 
Old 03-08-2005, 12:05 AM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
open console/shell and type:
ps -aux
It will give u a list of running programs. Find firefox or whatever the program is that you want to shutdown. and issue this command:
kill <pid>
For example, in my ps -aux:
user 5638 0.0 0.1 3492 996 ? S 00:46 0:00 /bin/sh /home/user/.firefox/firefox
kill 5638 will kill my firefox process.
 
Old 03-08-2005, 12:09 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
ALT+F4 might work, but the best way is to do a "ps aux" and get the process number for it and then "kill" it... for example, if your firefox's process number was 4477 you could do a:

Code:
kill 4477
if that doesn't work try:

Code:
kill -9 4477
if you don't wanna look for the process number you could try a:

Code:
killall firefox
and no, it's not normal for your programs to be crashing/freezing - that's a sign that something is wrong...


Last edited by win32sux; 03-08-2005 at 12:24 AM.
 
Old 03-08-2005, 12:21 AM   #4
mirradric
Member
 
Registered: May 2004
Location: Singapore
Distribution: Debian woody and debian sarge
Posts: 188

Rep: Reputation: 31
Re: Force Quitting

Quote:
Originally posted by RichMan1
Is there a force quit-type keystroke for FC3? CTRL+ALT+DEL only does Logout/Restart/Shutdown, and I wanted to close Firefox because it was being a bad boy and not responding.
Each window manager may have it's own key stroke or program to kill off bad programs. For example, in WindowMaker, you can right-click the window menu and chose the kill command. You can also try xkill which allows you to select the window of the program to kill. Sometimes the kill might miss some process related to the program. ps + kill still gives you the most control 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
Quitting an Application over the Web in Linux. Yosakita Linux - General 1 02-19-2005 04:03 PM
Rhythmbox quitting on me cneal Linux - Software 2 10-27-2004 12:28 PM
Quitting X distortedstar Linux - Hardware 6 03-25-2004 04:39 PM
Garbaged console after quitting X raccoon Linux - Newbie 7 03-03-2004 06:17 AM
Quitting X lokee Linux - Newbie 3 02-03-2003 07:12 PM


All times are GMT -5. The time now is 12:02 PM.

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