LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to close mozilla from terminal? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-close-mozilla-from-terminal-797368/)

radon 03-23-2010 02:06 PM

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.

Vrajgh 03-23-2010 02:18 PM

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... :)

divyashree 03-23-2010 02:27 PM

Quote:

Originally Posted by radon (Post 3909387)
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 :

Quote:

ps ax | grep -i mozilla
Now the PID is the 1st field of the 1st line of the output
Now kill the mozilla
Quote:

kill -9 <pid>


All times are GMT -5. The time now is 12:56 AM.