1TEE(1) User Commands TEE(1)
2
3
4
6 tee - read from standard input and write to standard output and files
7
9 tee [OPTION]... [FILE]...
10
12 Copy standard input to each FILE, and also to standard output.
13
14 -a, --append
15 append to the given FILEs, do not overwrite
16
17 -i, --ignore-interrupts
18 ignore interrupt signals
19
20 -p diagnose errors writing to non pipes
21
22 --output-error[=MODE]
23 set behavior on write error. See MODE below
24
25 --help display this help and exit
26
27 --version
28 output version information and exit
29
30 MODE determines behavior with write errors on the outputs:
31 warn diagnose errors writing to any output
32
33 warn-nopipe
34 diagnose errors writing to any output not a pipe
35
36 exit exit on error writing to any output
37
38 exit-nopipe
39 exit on error writing to any output not a pipe
40
41 The default MODE for the -p option is 'warn-nopipe'. The default oper‐
42 ation when --output-error is not specified, is to exit immediately on
43 error writing to a pipe, and diagnose errors writing to non pipe out‐
44 puts.
45
47 Written by Mike Parker, Richard M. Stallman, and David MacKenzie.
48
50 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
51 Report any translation bugs to <https://translationproject.org/team/>
52
54 Copyright © 2021 Free Software Foundation, Inc. License GPLv3+: GNU
55 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
56 This is free software: you are free to change and redistribute it.
57 There is NO WARRANTY, to the extent permitted by law.
58
60 Full documentation <https://www.gnu.org/software/coreutils/tee>
61 or available locally via: info '(coreutils) tee invocation'
62
63
64
65GNU coreutils 9.0 March 2022 TEE(1)