home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: tbl Chapter 2
UNIX Commands
Next: Reference: telnet
 

tee



tee

 [

options

] [

files

]

Duplicate the standard input; send one copy to standard output and another copy to files .

Options

-a

Append output to files .

-i

Ignore all interrupts.

Examples

Display a who listing on the screen, and store it in two files:



who | tee userlist ttylist

Display misspelled words, and add them to existing typos :



spell ch02 | tee -a typos


Previous: Reference: tbl UNIX in a Nutshell: System V Edition Next: Reference: telnet
Reference: tbl Book Index Reference: telnet

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System










??????????????@Mail.ru