LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-23-2010, 02:06 PM   #1
radon
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, 02:18 PM   #2
Vrajgh
Member
 
Registered: Aug 2005
Posts: 68

Rep: Reputation: 33
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 02:20 PM.
 
Old 03-23-2010, 02:27 PM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Quote:
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 :

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>
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 AM.

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
Open Source Consulting | Domain Registration