Download your favorite Linux distribution at LQ ISO.
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 03-23-2010, 03:06 PM   #1
LQ Newbie
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Question how to close mozilla from terminal?

I tried to close the browser windows; but everything seems freezed. Could someone tell me how to close this application from terminal? Thanks.
Old 03-23-2010, 03:18 PM   #2
Registered: Aug 2005
Posts: 65

Rep: Reputation: 31
You can try running "xkill" from the terminal. That will turn your mouse cursor into a skull and cross-bones image. Then click on the window and it should kill the application. (Carefull not to click on anything else though!)

Alternatively, you can try "killall firefox-bin" from the command line, which should kill all instances of firefox bin that your user owns.

Edit: There was I blindly assuming you are using firefox, although your post doesn't specify!

Edit edit: OK, your subject does specify...

Last edited by Vrajgh; 03-23-2010 at 03:20 PM.
Old 03-23-2010, 03:27 PM   #3
Senior Member
Registered: Apr 2007
Location: bbsr,orissa,India
Posts: 1,373

Rep: Reputation: 135Reputation: 135
Originally Posted by radon View Post
I tried to close the browser windows; but everything seems freezed. Could someone tell me how to close this application from terminal? Thanks.
Hey radon ,welcome to LQ .

It's so simple to do that

1st gett the pid :

ps ax | grep -i mozilla
Now the PID is the 1st field of the 1st line of the output
Now kill the mozilla
kill -9 <pid>


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
close terminal mean close background process? Niceman2005 Linux - General 7 05-27-2010 03:58 PM
Processes close with terminal Xyem Linux - Software 4 07-08-2006 02:44 PM
How to launch an app in terminal, & keep it running after I close terminal? kornerr Linux - General 7 06-24-2006 06:54 PM
can you close a cd drive from the terminal? dr_zayus69 Linux - Hardware 4 12-01-2004 09:30 PM
what happens if I close ssh terminal ? juanb Linux - General 1 09-17-2004 06:15 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:39 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