FG
💻 Software

How to open a page in Chrome from the command line, in a new tab or an existing tab as appropriate?

Fresh5 days ago
Mar 15, 202620523 views
Confidence Score0%
0%

Problem

I'm looking for a way to open a given page in Google Chrome from the command line, with the following behaviour: If the given page is already open in a tab, navigate to that tab If the given page is not already open in a tab, open the page in a new tab and show that tab Currently when I open a URL …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to open a page in Chrome from the command line, in a new tab or an existing tab as appropriate?

Low Risk

This is a simpler command line, but will still open a new tab:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment