minix man page for tee

Query: tee

OS: minix

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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) - opensolaris
tee(1) - debian
tee(2) - centos
tee(1) - sunos
tee(1) - php
Similar Topics in the Unix Linux Community
MC ServiceGaurd
how to print script output to screen and file
Volunteers for UNIX.COM Traffic Optimization Tasks?
tee vs output redirection confusion
How to use correctly Spreadsheet::WriteExcel to convert xml to xls