wall(8) 맨 페이지 - 윈디하나의 솔라나라

개요

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

wall(8)

System Administration Commands                                         wall(8)



NAME
       wall - write to all users

SYNOPSIS
       /usr/sbin/wall [-a] [-g grpname] [filename]

DESCRIPTION
       wall  reads its standard input until an end-of-file. It then sends this
       message to all currently logged-in users preceded by:

         Broadcast Message from ...



       If filename is given, then the message is read in from that file.


       It is used to warn all users, typically prior to shutting down the sys‐
       tem.  Normally,  pseudo-terminals  that do not correspond to login ses‐
       sions are ignored. Thus,  when  using  a  window  system,  the  message
       appears  only  on the console window. However, -a will send the message
       even to such pseudo-terminals.


       The sender must have all privileges to  override  any  protections  the
       users may have invoked. See mesg(1).


       wall runs setgid() to the group ID  tty, in order to have write permis‐
       sions on other user's terminals. See setuid(2).


       wall will detect non-printable characters before sending  them  to  the
       user's  terminal.  Control  characters will appear as a "^" followed by
       the appropriate ASCII character; characters with the high-order bit set
       will  appear  in  "meta"  notation. For example, '\003' is displayed as
       '^C' and '\372' as 'M−z'.

OPTIONS
       The following options are supported:

       -a            Broadcast message to the console and pseudo-terminals.


       -g grpname    Broadcast to the users in a specified group only, per the
                     group database (see group(5)).


ENVIRONMENT VARIABLES
       If  the  LC_* variables (LC_CTYPE, LC_TIME, LC_COLLATE, LC_NUMERIC, and
       LC_MONETARY) are not set in the environment, the  operational  behavior
       of  wall  for  each  corresponding locale category is determined by the
       value of the LANG environment variable. See environ(7).  If  LC_ALL  is
       set, its contents are used to override both the LANG and the other LC_*
       variables. If none of the above variables are set in  the  environment,
       the "C" (U.S. style) locale determines how wall behaves.

FILES
       /dev/tty*

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


SEE ALSO
       mesg(1), write(1), setuid(2), attributes(7), environ(7)

NOTES
       wall displays "Cannot send to ..." when it fails to open a  user's  tty
       file.



Oracle Solaris 11.4               3 Nov 2021                           wall(8)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3