Originally Posted by cliffd7
The pkill firefox command suggested by eSelix is a complete answer.
For what it's worth, there is yet another way to kill firefox:
In linux there is often more than one way to skin a virtual cat!
If firefox is freezing or hanging often, you can try running firefox with a new profile in order to rule out a corrupted profile as the source of the problem. Simply close firefox and then launch it from the terminal with a new profile like this:
You will be given the option to create a new profile.
You could also try disabling all of your firefox addons / extensions. Then re-enable them one at a time to try to rule out a rogue addon as the source of the problem.
You could also try renaming your ~/.mozilla
directory to ~/.mozilla.bak
. Then restart firefox. This will create a brand new pristine ~/.mozilla
You can always go back to your original ~/.mozilla
directory (and your original profile) simply by changing ~/.mozilla.bak
mv ~/.mozilla.bak ~/.mozilla
Many firefox troubles can be traced to a corrupted profile and or a rogue addon or two. This can help you troubleshoot and rule out those problems.