When I type firefox
in terminal, it starts Firefox but the terminal "hangs".
What is happening behind the scenes?
Can I open Firefox from terminal and keep on using the same terminal tab for other things without closing Firefox?
When I type firefox
in terminal, it starts Firefox but the terminal "hangs".
What is happening behind the scenes?
Can I open Firefox from terminal and keep on using the same terminal tab for other things without closing Firefox?
The terminal locks when you are running an application from it as long as the application is running. With the ampersand (&) you can start the application in the background and still use the terminal. Type:
user@host:~# firefox &
To start firefox in the background. Output of the application will still be in the terminal.
Or, if firefox is already running you can do this:
Type:
jobs
You should see your jobs like :
[1]+ Stopped firefox.
Type:
bg %1
(or number of your job)
#
indicate elevated privileges. (I didn't think you did, btw)
– MattBianco
Dec 16 '15 at 09:26
Use nohup firefox &
to run firefox from terminal and you can use terminal for other process, if you close terminal, firefox will not quit.
If you get error like Another instance is running
then use nohup firefox -P --no-remote &
and create a new user profile and browse.
&
after the command and it will run on background. – Dec 03 '13 at 10:53&
. How would you start firefox from the terminal if you had to and why? – AWE Dec 03 '13 at 13:32