LinuxCommandLibrary

open.fish

Opens files, directories, and URIs with default applications.

TLDR

Open a file with the associated application

$ open [path/to/file.ext]
copy


Open all the files of a given extension in the current directory with the associated application
$ open [*.ext]
copy


Open a directory using the default file manager
$ open [path/to/directory]
copy


Open a website using the default web browser
$ open [https://example.com]
copy


Open a specific URI using the default application that can handle it
$ open [tel:123]
copy

Copied to clipboard