How Do I Start Chrome from Command Line Ubuntu?

How Do I Start Chrome from Command Line Ubuntu?
Contents

How do I run Chrome from Ubuntu command line?

Windows

  1. Click the Start button, then type “cmd” in the search bar. …
  2. Navigate to your Chrome directory using the “cd” command. …
  3. Type the following to run the Chrome executable in the directory: …
  4. Click the Ubuntu Dash icon. …
  5. Type “chrome” without quotation marks to run Chrome from the terminal.

How do I start Chrome from Linux command line?

The steps are below :

  1. Edit ~/. bash_profile or ~/. zshrc file and add the following line alias chrome=”open -a ‘Google Chrome'”
  2. Save and close the file.
  3. Logout and relaunch Terminal.
  4. Type chrome filename for opening a local file.
  5. Type chrome url for opening url.
Maya Lin-Takahashi
Author

Maya Lin-Takahashi

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.