How can I launch Google Chrome through terminal and get the terminal back for other commands?
29,330
Just start Chrome with an ampersand &
at the end of the command:
google-chrome &
This will send the process to the background giving you your terminal back.
If Chrome outputs terminal messages you don't want to see just send them to /dev/null
like so:
google-chrome &>/dev/null &
If you want to be able to close the terminal while Chrome is still running you need nohup
:
nohup google-chrome &
Author by
This
Updated on September 18, 2022Comments
-
This over 1 year
If I launch Chrome using the command
google-chrome
then I can't use the terminal for any other operations until the Chrome instance is closed.Is there any way to open Google Chrome by command line without loading the dynamic contents of Google Chrome into the terminal, so that I can use the terminal for other operations.
-
Zanna over 6 years
-
vishnu narayanan over 6 yearsYou can also try the nohup command. nohup google-chrome &
-