OPEN(1) fish-shell OPEN(1)

# [NAME](#NAME)

open - open file in its default application

# [SYNOPSIS](#SYNOPSIS)

```
open FILES ...
```

# [DESCRIPTION](#DESCRIPTION)

**open** opens a file in its default application, using the appropriate tool for the operating system. On GNU/Linux, this requires the common but optional **xdg-open** utility, from the **xdg-utils** package.

Note that this function will not be used if a command by this name exists (which is the case on macOS or Haiku).

# [EXAMPLE](#EXAMPLE)

**open \*.txt** opens all the text files in the current directory using your system's default text editor.

# [Copyright](#Copyright)

fish-shell developers

October 15, 2026 4.9

---

Document: open(1) from fish 4.9.3-r3 (Chainguard OS)
Source: https://github.com/fish-shell/fish-shell
