NAME

tee - pipe fitting

SYNOPSIS

tee [-ai] [file ...]

DESCRIPTION

tee reads data from standard input, copying it to standard output and to any files given as arguments. If no file arguments are provided, tee behaves like the cat utility and copies only to standard output. Files are opened in write mode by default, and output is not buffered.

OPTIONS

The following options are available:

-a

Append output to the files instead of overwriting them

-i

Ignore the SIGINT signal

EXIT STATUS

tee exits 0 on success, and >0 to indicate an error