Name
tee
Synopsis
tee [options
]files
Accepts output from another command and send it both to the standard output and to files (like a T or a fork in a road).
Options
-
-a
Append to files; do not overwrite.
-
-i
Ignore interrupt signals.
Example
View listing and save for later:
ls -l | tee savefile
Get Mac OS X in a Nutshell 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.