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 operate in a more appropriate MODE with 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'. With "nopipe"
42 MODEs, exit immediately if all outputs become broken pipes. The de‐
43 fault operation when --output-error is not specified, is to exit imme‐
44 diately on error writing to a pipe, and diagnose errors writing to non
45 pipe outputs.
46
48 Written by Mike Parker, Richard M. Stallman, and David MacKenzie.
49
51 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
52 Report any translation bugs to <https://translationproject.org/team/>
53
55 Copyright © 2023 Free Software Foundation, Inc. License GPLv3+: GNU
56 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
57 This is free software: you are free to change and redistribute it.
58 There is NO WARRANTY, to the extent permitted by law.
59
61 Full documentation <https://www.gnu.org/software/coreutils/tee>
62 or available locally via: info '(coreutils) tee invocation'
63
64
65
66GNU coreutils 9.3 September 2023 TEE(1)