freebsd man page for tee

Query: tee

OS: freebsd

Section: 1

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

TEE(1)							    BSD General Commands Manual 						    TEE(1)

NAME
tee -- duplicate standard input
SYNOPSIS
tee [-ai] [file ...]
DESCRIPTION
The tee utility copies standard input to standard output, making a copy in zero or more files. The output is unbuffered. The following options are available: -a Append the output to the files rather than overwriting them. -i Ignore the SIGINT signal. The following operands are available: file A pathname of an output file. The tee utility takes the default action for all signals, except in the event of the -i option.
EXIT STATUS
The tee utility exits 0 on success, and >0 if an error occurs.
STANDARDS
The tee utility is expected to be IEEE Std 1003.2 (``POSIX.2'') compatible.
BSD
November 13, 2007 BSD
Related Man Pages
tee(1) - debian
tee(1posix) - posix
tee(1p) - suse
tee(1) - osf1
tee(1) - x11r4
Similar Topics in the Unix Linux Community
Command display output on console and simultaneously save the command and its output
Volunteers for UNIX.COM Traffic Optimization Tasks?
How to use correctly Spreadsheet::WriteExcel to convert xml to xls
Changes to write output to logfile and console
Need output of script on screen and file with correct return status of the called script.