Files
oldlinux-files/Minix/2.0.0/wwwman/man1/tee.1.html
2024-02-19 00:21:39 -05:00

74 lines
1.1 KiB
HTML

<HTML>
<HEAD>
<TITLE>tee(1)</TITLE>
</HEAD>
<BODY>
<H1>tee(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
tee - divert stdin to a file
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>tee</STRONG> [<STRONG>-ai</STRONG>] <EM>file</EM> ...
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-a</STRONG> Append to the files, rather than overwriting
<STRONG>-i</STRONG> Ignore interrupts
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>cat</STRONG> <STRONG>file1</STRONG> <STRONG>file2</STRONG> <STRONG>|</STRONG> <STRONG>tee</STRONG> <STRONG>x</STRONG>
# Save and display two files
<STRONG>pr</STRONG> <STRONG>file</STRONG> <STRONG>|</STRONG> <STRONG>tee</STRONG> <STRONG>x</STRONG> <STRONG>|</STRONG> <STRONG>lpr</STRONG>
# Save the output of <EM>pr</EM> on <EM>x</EM>
</PRE>
<H2>DESCRIPTION</H2><PRE>
<EM>Tee</EM> copies <EM>stdin</EM> to standard output. It also makes copies on all the
files listed as arguments.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man1/cat.1.html">cat(1)</A></STRONG>.
</PRE>
</BODY>
</HTML>