FG
💻 Software

a linux cli equivalent to mac's "open" command? or windows "start" command?

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

Problem

In a mac cli, I can type and the mac will automatically figure out the correct application and open it for me. In Windows, the command does the same thing, but also will open up explorer to working directory if given no parameters. Is there a way to do that in linux? (maybe only certain distros?)

Error Output

open file.jpg

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: a linux cli equivalent to mac's "open" command? or windows "start" command?

Low Risk

If XdgUtils is installed files can be opened via Otherwise there might be something provided by the desktop environment, e.g. for gnome

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment