Sometimes when I try to start Firefox it says \"a Firefox process is already running\". So I have to do this:
jeremy@jeremy-desktop:~$ ps aux | grep firefox
A bit longer alternative:
kill `pidof firefox`