I'm a bit new to linux. using Ubuntu-16.04LTS. The terminal froze when i trip to open browser using terminal command. Browser name website (chromium-browser www.facebook.com) Terminal resumed after closing the browser Is there anything I need to know?
Asked
Active
Viewed 1,518 times
0
-
This is normal. – user68186 Jan 31 '17 at 14:57
-
1Yes, anything that you run from a terminal window (including GUI apps), will exclusively use that terminal until you close them. You can append `&` after the command to run it in the background, thus letting you use the terminal. `chromium-browser www.facebook.com &`. – Jonas Czech Jan 31 '17 at 15:04
-
@JonasCz so can the website be used via commands? Like login or message via terminal? – nooneswarup Jan 31 '17 at 15:12
-
No, chrome(ium) does not support that. – Jonas Czech Jan 31 '17 at 15:21
-
So does any other browser supports? Can you recommend me to a website or article , where i can find how to operate this? – nooneswarup Jan 31 '17 at 15:24
1 Answers
1
Yes .. That's the way it works. As long as a command is running in the terminal, it is blocked from doing other things. Think of chromium-browser as a long running process, just as sleep 60 or similar.
You can put it in the background, freeing your terminal prompt for other work, either by pressing ctrl-z to suspend the process, and then type bg %1 (or the number ctrl-z returned in [] if not 1) to let it run in background.
Or adding a & after the command when you start it:
sleep 60 &
This will send it in the background immediately.
Soren A
- 6,442
- 2
- 17
- 33