open.fish
Open files, directories, and URIs with default applications. tldr-pages
On several platforms
Several platforms
Open files, directories, and URIs with default applications. This command is available through fish on operating systems without the built-in open command (e.g. Haiku and macOS).
Open a file with the associated application
open path/to/file.extIdentifyOpen all the files of a given extension in the current directory with the associated application
open *.extIdentifyOpen a directory using the default file manager
open path/to/directoryIdentifyOpen a website using the default web browser
open https://example.comIdentifyOpen a specific URI using the default application that can handle it
open tel:123Identify