| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. |
| 2 |
.TH TEE "1" "June 2025" "GNU coreutils 9.7" "User Commands" |
| 3 |
.SH NAME |
| 4 |
tee \- read from standard input and write to standard output and files |
| 5 |
.SH SYNOPSIS |
| 6 |
.B tee |
| 7 |
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]... |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
.PP |
| 11 |
Copy standard input to each FILE, and also to standard output. |
| 12 |
.TP |
| 13 |
\fB\-a\fR, \fB\-\-append\fR |
| 14 |
append to the given FILEs, do not overwrite |
| 15 |
.TP |
| 16 |
\fB\-i\fR, \fB\-\-ignore\-interrupts\fR |
| 17 |
ignore interrupt signals |
| 18 |
.TP |
| 19 |
\fB\-p\fR |
| 20 |
operate in a more appropriate MODE with pipes |
| 21 |
.TP |
| 22 |
\fB\-\-output\-error\fR[=\fI\,MODE\/\fR] |
| 23 |
set behavior on write error. See MODE below |
| 24 |
.TP |
| 25 |
\fB\-\-help\fR |
| 26 |
display this help and exit |
| 27 |
.TP |
| 28 |
\fB\-\-version\fR |
| 29 |
output version information and exit |
| 30 |
.SS "MODE determines behavior with write errors on the outputs:" |
| 31 |
.TP |
| 32 |
warn |
| 33 |
diagnose errors writing to any output |
| 34 |
.TP |
| 35 |
warn\-nopipe |
| 36 |
diagnose errors writing to any output not a pipe |
| 37 |
.TP |
| 38 |
exit |
| 39 |
exit on error writing to any output |
| 40 |
.TP |
| 41 |
exit\-nopipe |
| 42 |
exit on error writing to any output not a pipe |
| 43 |
.PP |
| 44 |
The default MODE for the \fB\-p\fR option is 'warn\-nopipe'. |
| 45 |
With "nopipe" MODEs, exit immediately if all outputs become broken pipes. |
| 46 |
The default operation when \fB\-\-output\-error\fR is not specified, is to |
| 47 |
exit immediately on error writing to a pipe, and diagnose errors |
| 48 |
writing to non pipe outputs. |
| 49 |
.SH AUTHOR |
| 50 |
Written by Mike Parker, Richard M. Stallman, and David MacKenzie. |
| 51 |
.SH "REPORTING BUGS" |
| 52 |
GNU coreutils online help: <https://www.gnu.org/software/coreutils/> |
| 53 |
.br |
| 54 |
Report any translation bugs to <https://translationproject.org/team/> |
| 55 |
.SH "SEE ALSO" |
| 56 |
Full documentation <https://www.gnu.org/software/coreutils/tee> |
| 57 |
.br |
| 58 |
or available locally via: info \(aq(coreutils) tee invocation\(aq |
| 59 |
.PP |
| 60 |
.br |
| 61 |
Packaged by Debian (9.7\-3) |
| 62 |
.br |
| 63 |
Copyright \(co 2025 Free Software Foundation, Inc. |
| 64 |
.br |
| 65 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. |
| 66 |
.br |
| 67 |
This is free software: you are free to change and redistribute it. |
| 68 |
.br |
| 69 |
There is NO WARRANTY, to the extent permitted by law. |