How To Run Google Chrome From Terminal

One of the numerous advantageous aspects of Linux and Unix-like operating systems is the capability to initiate applications directly from the terminal. This not only saves time, but also provides a great opportunity to familiarize yourself with your system. In this blog post, we will discover how to launch Google Chrome from the terminal.

Step 1: Open Terminal

To start, you need to open the terminal. This can be done in various ways, depending on your operating system, but a common method is by using the Ctrl + Alt + T keyboard shortcut.

Step 2: Run Google Chrome

Once the terminal is open, launching Google Chrome is as simple as typing in a single command. If you have installed Google Chrome in default locations, you can start it from the terminal by typing the following command:

google-chrome

This command will start Google Chrome browser with default settings and configurations.

Step 3: Run Google Chrome with additional parameters

Google Chrome can also be run with additional parameters that can change its behavior. For instance, you can start Google Chrome in incognito mode by using the –incognito parameter. The command would look like this:

google-chrome --incognito

This will launch Google Chrome in incognito mode which does not save your browsing history or cookies after you close the browser.

Step 4: Close Google Chrome

If you need to close Google Chrome from the terminal, you can do so by using the pkill command followed by the name of the application, which in this case is google-chrome:

pkill google-chrome

This command will instantly close all instances of Google Chrome that are currently open.

As you can see, using the terminal to launch and manage applications is a powerful and efficient way of working with your system. I hope this guide has helped you understand how to run Google Chrome from terminal.

As always, if you have any questions or comments, please feel free to leave them in the comments section below. Happy browsing!