Name
tee
Synopsis
tee [options
]files
Accept output from another command and send it both to standard output and to files (like a T or fork in the road).
Options
- -a, --append
Append to files; do not overwrite.
- -i, --ignore-interrupts
Ignore interrupt signals.
- --help
Print a help message and then exit.
- --version
Print version information and then exit.
Example
s -l | tee savefile View listing and save for later
Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.