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

개요

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

mesg(1)

mesg(1)                          User Commands                         mesg(1)



NAME
       mesg - permit or deny messages

SYNOPSIS
       mesg [-n | -y | n | y]

DESCRIPTION
       The  mesg  utility will control whether other users are allowed to send
       messages via write(1),  talk(1),  or  other  utilities  to  a  terminal
       device. The terminal device affected is determined by searching for the
       first terminal in the sequence  of  devices  associated  with  standard
       input, standard output, and standard error, respectively. With no argu‐
       ments, mesg reports the current state without  changing  it.  Processes
       with  appropriate privileges may be able to send messages to the termi‐
       nal independent of the current state.

OPTIONS
       The following options are supported:

       -n|n    Denies permission to other users to send message to the  termi‐
               nal. See write(1).


       -y|y    Grants permission to other users to send messages to the termi‐
               nal.


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

EXIT STATUS
       The following exit values are returned:

       0    if messages are receivable.


       1    if messages are not receivable.


       2    on error.


FILES
       /dev/tty*     terminal devices


       /dev/pts/*    terminal devices


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 _ Interface StabilityCommit‐
       ted _ StandardSee standards(7).


SEE ALSO
       talk(1), write(1), attributes(7), environ(7), standards(7)



Oracle Solaris 11.4               31 Oct 1997                          mesg(1)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3