tee man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

tee(1)				 User Commands				tee(1)

NAME
       tee - replicate the standard output

SYNOPSIS
   /usr/bin/tee
       /usr/bin/tee [-options] [file...]

   ksh93
       tee [-options] [file...]

DESCRIPTION
       tee copies standard input to standard output and to zero or more files.
       The options determine whether the specified files  are  overwritten  or
       appended	 to.  The  tee utility does not buffer output. If a write to a
       file fails, tee continues to write to other  files  although  it	 exits
       with a non-zero exit status.

       The  number  of	file  operands that can be specified is limited by the
       underlying operating system.

       This command conforms to IEEE Std 1003.1-2008.

OPTIONS
       The following options are supported:

       -a		      Appends the output  to  the  files  rather  than
       --append		      overwriting them.

       -i		      Ignores SIGINT signal.
       --ignore-interrupts

       -l		      Sets the standard output to be line buffered.
       --line-buffer

       --help		      Prints basic help information.

       --man		      Prints  built-in	manual	page  in  either plain
       --html		      text, HTML or nroff format.
       --nroff

       --version	      Prints version information.

OPERANDS
       The following operands are supported:

       file    A path name of an output file.

USAGE
       See largefile(5) for the	 description  of  the  behavior	 of  tee  when
       encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).

ENVIRONMENT VARIABLES
       See  environ(5) for descriptions of the following environment variables
       that affect the execution of tee: LANG, LC_ALL, LC_CTYPE,  LC_MESSAGES,
       and NLSPATH.

EXIT STATUS
       The following exit values are returned:

       0     Successful completion. The standard input was successfully copied
	     to all output files.

       >0    An error occurred. The number of files that could not  be	opened
	     or whose status could not be obtained.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SUNWcs			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │CSI			     │Enabled			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Standard		     │See standards(5).		   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       cat(1), ksh93(1), attributes(5), environ(5), largefile(5), standards(5)

       IEEE Std 1003.1-2008.

       http://www.opengroup.org

SunOS 5.11			  29 Nov 2009				tee(1)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net