Scroll to navigation

tee(1) General Commands Manual tee(1)

NAME

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

SYNOPSIS

tee [-h|--help] [-a|--append] [-i|--ignore-interrupts] [-p ] [--output-error] [-V|--version] [file]

DESCRIPTION

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

OPTIONS

Print help
append to the given FILEs, do not overwrite
ignore interrupt signals (ignored on non-Unix platforms)
set write error behavior (ignored on non-Unix platforms)
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)
Print version
[file]

EXTRA

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

VERSION

v0.0.26

tee 0.0.26