LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-22-2011, 02:10 PM   #1
laredotornado
Member
 
Registered: Apr 2011
Posts: 71

Rep: Reputation: 0
How do I kill all instances of Firefox browsers?


Hi,

I'm using Ubuntu 11.04. What command can I run that will shut down all Firefox instances?

Here's what I get when I scan for processes with "firefox" included in them ...

Code:
$ ps -elf | grep firefox
0 R selenium 31849  1253 32  80   0 - 186593 -     14:08 ?        00:00:05 /usr/lib/firefox-4.0.1/firefox-bin -profile /tmp/customProfileDir85da96184657425da4ec1b05d75e7523
0 S selenium 31892 31849  0  80   0 - 53633 poll_s 14:08 ?        00:00:00 /usr/lib/firefox-4.0.1/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -omnijar /usr/lib/firefox-4.0.1/omni.jar 31849 true plugin
Thanks, - Dave
 
Old 06-22-2011, 02:14 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Code:
killall firefox
 
1 members found this post helpful.
Old 06-22-2011, 02:17 PM   #3
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi there,

Here are the steps:

1. Type: pidof firefox
2. The above step will display a process id.
3. kill -9 process_id displayed by the command in first step, this will kill all firefox processes.

I hope this helps.
 
Old 06-22-2011, 02:38 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Code:
killall firefox
will not work, you have to use
Code:
killall firefox-bin
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple instances of firefox? nataloi Linux - Newbie 1 04-22-2009 01:24 PM
openoffice and firefox several instances Hamsjael Linux - Software 2 08-19-2007 01:28 PM
firefox instances closing bong.mau Linux - Software 1 06-09-2006 05:15 PM
Why 2 browsers instances when I only open 1 ? DiscoDancer Linux - Software 3 05-01-2006 04:26 PM
Two instances of Firefox? subnet_rx Linux - Software 3 07-17-2004 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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