tee(1) minix man page | unix.com

Man Page: tee

Operating Environment: minix

Section: 1

TEE(1)							      General Commands Manual							    TEE(1)

NAME
tee - divert stdin to a file
SYNOPSIS
tee [-ai] file ...
OPTIONS
-a Append to the files, rather than overwriting -i Ignore interrupts
EXAMPLES
cat file1 file2 | tee x # Save and display two files pr file | tee x | lpr # Save the output of pr on x
DESCRIPTION
Tee copies stdin to standard output. It also makes copies on all the files listed as arguments.
SEE ALSO
cat(1). TEE(1)
Related Man Pages
tee(1) - centos
tee(1) - debian
tee(1posix) - posix
tee(2) - suse
tee(1) - xfree86
Similar Topics in the Unix Linux Community
how to print script output to screen and file
How to display and count
Redirect stdin stdout to multiple files
copy specific files and count them - not as easy as it seems!
Need output of script on screen and file with correct return status of the called script.