Advanced Google Chrome Terminal Commands
We can also add various commands in the google chrome, if we want to customize the way we open our google chrome browser as well. For this, let’s see some commands along with their arguments.
Open Any Website You Want in Google Chrome Using Terminal:
If you have any specific website in mind that you want to open, then you can simply add the google-chrome command that we want to use and then we can add the website URL which we want to open.
For example, if we type the following command, then you’ll see that it will open the google chrome browser and then the website URL that we have provided (w3wiki.org) will be opened automatically.
google-chrome https://www.w3wiki.org
Output:
This will open the website URL that you have provided using the google chrome as output. as you can see in the image below:
Open An Incognito Tab Using Terminal:
If you want to open an incognito tab in the google chrome by simply using the terminal then you can easily do so using the –incognito argument along with the google-chrome command that we previously had.
For example:
google-chrome --incognito
Output:
This will open the website URL that you have provided using the google chrome as output. as you can see in the image below:
List of Google Chrome Command Line Switches:
The google chrome browser supports dozens of various command line switches and these switches can be used to add many effective features and options to our browsing. While some of these features are mostly useful only for the developers, some of these switches can be used by the users for better performance as we saw earlier.
Following are some of the important switches used in the terminal or command line for the google chrome:
Chromium Command |
Description |
---|---|
–ash-force-desktop |
It’s used to force the use to desktop version. |
–start-maximized |
Starts the Chrome window maximized. |
–window-size |
Specify the initial window size using –window-size=x,y. |
–window-position |
Specify the initial window position using –window-position=x,y. |
–ssl-version-min |
Specify the minimum SSL version accepted. |
–restore-last-session |
Restore the last session on run. |
–purge-memory-button |
Add purge memory button to Chrome. |
–no-referrers |
Use Chrome without sending referrers. |
–no-pings |
No hyperlink auditing pings. |
–no-experiments |
Run Chrome without experiments set in chrome://flags. |
–new-profile-management |
Enable the new profile management in Chrome. |
–multi-profiles |
Enable multiple profiles in Chrome. |
–media-cache-size |
Disk space used by media cache in bytes. |
–incognito |
Launches Chrome directly in Incognito private browsing mode. |
–enable-kiosk-mode |
Kiosk Mode for Chrome OS. |
–disable-translate |
Disables the Google Translate feature. |
–disable-preconnect |
Disables speculative TCP/IP preconnections. |
–disable-plugins-discovery |
Disables the discovery of missing plugins. |
–disable-plugins |
Prevents all plugins from running. |
–disable-gpu |
Disables hardware acceleration using the GPU. |
–disable-background-mode |
Background apps will be seized to continue when chrome runs. |
–disable-accelerated-video |
Disables GPU accelerated video. |
–disable-3d-apis |
It disables the 3D API which also includes the Pepper 3D and WebGL. |
Open Google Chrome From The Linux Command Line
Google Chrome is known as the most used and widely popular web browser because of its fast and better performance. In this article we will learn how we can open the Google Chrome application by using the terminal in Linux along with this we will also look at some you should command line switches to help you to start using the Google Chrome browser in Linux.
As all of us are aware making sure that we use the command line while using the Linux operating system is very important because all the work that occurs in the Linux platform is mostly based on the command line. The command line is Something that provides us with an environment that is text-based rather than providing us with a GUI which means that the command time can be used to manage tasks more efficiently and also have direct control over the Linux operating system.