tee(1) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

tee(1)

tee(1)                           User Commands                          tee(1)

NAME
       tee - replicate the standard output

SYNOPSIS
       /usr/bin/tee [-ai] [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 un‐
       derlying operating system.

OPTIONS
       The following options are supported:

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


       -i    Ignores interrupts.


OPERANDS
       The following operands are supported:

       file    A path name of an output file.


ENVIRONMENT VARIABLES
       See environ(7) 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(7) for descriptions of the following attributes:

       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/core-os  _  CSIEnabled  _  Interface
       StabilityCommitted _ StandardSee standards(7).


SEE ALSO
       cat(1), attributes(7), environ(7), standards(7)

Oracle Solaris 11.4               4 Feb 2015                            tee(1)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3