9

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
  • 70,465
This
  • 115

1 Answers1

15

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 &
dessert
  • 39,982