Debian Codegraph @

upstream/debian-unstable/man1/tee.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
2 .TH TEE "1" "February 2026" "GNU coreutils 9.10" "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 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#tee-a'\fB\-a, \-\-append\fP\X'tty: link'
14 append to the given FILEs, do not overwrite
15 .TP
16 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#tee-i'\fB\-i, \-\-ignore\-interrupts\fP\X'tty: link'
17 ignore interrupt signals
18 .TP
19 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#tee-p'\fB\-p\fP\X'tty: link'
20 operate in a more appropriate MODE with pipes
21 .TP
22 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#tee--output-error'\fB\-\-output\-error[=MODE]\fP\X'tty: link'
23 set behavior on write error. See MODE below
24 .TP
25 \X'tty: link https://www.gnu.org/software/coreutils/tee#tee--help'\fB\-\-help\fP\X'tty: link'
26 display this help and exit
27 .TP
28 \X'tty: link https://www.gnu.org/software/coreutils/tee#tee--version'\fB\-\-version\fP\X'tty: link'
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 Report bugs to: bug\[email protected]
53 .br
54 GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
55 .br
56 General help using GNU software: <https://www.gnu.org/gethelp/>
57 .br
58 Report any translation bugs to <https://translationproject.org/team/>
59 .SH "SEE ALSO"
60 Full documentation <https://www.gnu.org/software/coreutils/tee>
61 .br
62 or available locally via: info \(aq(coreutils) tee invocation\(aq
63 .PP
64 .br
65 Packaged by Debian (9.10\-1)
66 .br
67 Copyright \(co 2026 Free Software Foundation, Inc.
68 .br
69 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
70 .br
71 This is free software: you are free to change and redistribute it.
72 .br
73 There is NO WARRANTY, to the extent permitted by law.