*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> tee (1)              


 tee(1)                                                               tee(1)

 NAME    [Toc]    [Back]
      tee - pipe fitting

 SYNOPSIS    [Toc]    [Back]
      tee [-i] [-a] [file] ...

 DESCRIPTION    [Toc]    [Back]
      The tee command transcribes the standard input to the standard output
      and makes copies in the files.

    Options    [Toc]    [Back]
           -i      This option ignores interrupts.

           -a      This option appends the output to the files rather than
                   overwriting the files.

    Environment Variables
      LC_MESSAGES determines the language in which messages are displayed.

      If LC_MESSAGES is not specified in the environment or is set to the
      empty string, the value of LANG is used as a default for each
      unspecified or empty variable.  If LANG is not specified or is set to
      the empty string, a default of "C" (see lang(5)) is used instead of

      If any internationalization variable contains an invalid setting, tee
      behaves as if all internationalization variables are set to "C".  See

    International Code Set Support    [Toc]    [Back]
      Single- and multi-byte character code sets are supported.

 RETURN VALUE    [Toc]    [Back]
      The tee command returns zero upon successful completion, or nonzero if
      the command fails.

 EXAMPLES    [Toc]    [Back]
      Write a list of users to the screen and also append the list to the
      file hunt:

           who | tee -a hunt

      tee: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
pipe Linux create pipe
popen Tru64 Initiates a pipe to a process
pclose Tru64 Closes a pipe to a process
popen IRIX initiate pipe to/from a process
udbp FreeBSD USB Double Bulk Pipe driver
fifo Linux first-in first-out special file, named pipe
pxfisfifo IRIX Tests for pipe or a FIFO special file
mkfifo Linux make a FIFO special file (a named pipe)
mknod IRIX build special file or named pipe (FIFO)
mkfifo HP-UX make FIFO (named pipe) special files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service