TEE(1) General Commands Manual TEE(1)

# [NAME](#NAME)

tee - Copy standard input to each FILE, and also to standard output.

# [SYNOPSIS](#SYNOPSIS)

**tee** \[OPTION]... \[FILE]...

# [DESCRIPTION](#DESCRIPTION)

Copy standard input to each FILE, and also to standard output.

# [OPTIONS](#OPTIONS)

[**-h**, **--help**](#h)

Print help

[**-a**, **--append**](#a)

append to the given FILEs, do not overwrite

[**-i**, **--ignore-interrupts**](#i)

ignore interrupt signals (ignored on non-Unix platforms)

[**-p**](#p)

set write error behavior (ignored on non-Unix platforms)

[**--output-error**](#output)

set write error behavior

*Possible values:*

- warn: produce warnings for errors writing to any output
- warn-nopipe: produce warnings for errors that are not pipe errors (ignored on non-unix platforms)
- exit: exit on write errors to any output
- exit-nopipe: exit on write errors to any output that are not pipe errors (equivalent to exit on non-unix platforms)

[**-V**, **--version**](#V)

Print version

\[*file*]

# [EXTRA](#EXTRA)

If a FILE is -, it refers to a file named - .

# [VERSION](#VERSION)

v(uutils coreutils) 0.12.0

2026-09-30

---

Document: tee(1) from uutils 0.12.0-r1 (Chainguard OS)
Source: https://github.com/uutils/coreutils
