1wall(1M)                System Administration Commands                wall(1M)
2
3
4

NAME

6       wall - write to all users
7

SYNOPSIS

9       /usr/sbin/wall [-a] [-g grpname] [filename]
10
11

DESCRIPTION

13       wall  reads its standard input until an end-of-file. It then sends this
14       message to all currently logged-in users preceded by:
15
16         Broadcast Message from ...
17
18
19
20       If filename is given, then the message is read in from that file.  Nor‐
21       mally,  pseudo-terminals  that do not correspond to rlogin sessions are
22       ignored. Thus, when using a window system, the message appears only  on
23       the  console  window.  However,  -a  will send the message even to such
24       pseudo-terminals.
25
26
27       It is used to warn all users, typically prior to shutting down the sys‐
28       tem.
29
30
31       The  sender must be superuser to override any protections the users may
32       have invoked See mesg(1).
33
34
35       wall runs setgid() to the group  ID tty, in order to have write permis‐
36       sions on other user's terminals. See setuid(2).
37
38
39       wall  will  detect  non-printable characters before sending them to the
40       user's terminal. Control characters will appear as a  " ^ " followed by
41       the appropriate ASCII character; characters with the high-order bit set
42       will appear in "meta" notation.  For example, `\003'  is  displayed  as
43       `^C' and  `\372' as  `M−z'.
44

OPTIONS

46       The following options are supported:
47
48       -a            Broadcast message to the console and pseudo-terminals.
49
50
51       -g grpname    Broadcast to the users in a specified group only, per the
52                     group database (see group(4)).
53
54

ENVIRONMENT VARIABLES

56       If the  LC_* variables (LC_CTYPE, LC_TIME, LC_COLLATE, LC_NUMERIC,  and
57       LC_MONETARY)  are  not set in the environment, the operational behavior
58       of wall for each corresponding locale category is  determined  by   the
59       value  of  the  LANG environment variable. See environ(5). If LC_ALL is
60       set, its contents are used to override both the   LANG  and  the  other
61       LC_*  variables. If none of the above variables are set in the environ‐
62       ment, the "C" (U.S. style) locale determines how wall behaves.
63

FILES

65       /dev/tty*
66

ATTRIBUTES

68       See attributes(5) for descriptions of the following attributes:
69
70
71
72
73       ┌───────────────────────────────────────────────────────────┐
74ATTRIBUTE TYPE                ATTRIBUTE VALUE              
75       │Availability                  SUNWcsu                      │
76       └───────────────────────────────────────────────────────────┘
77

SEE ALSO

79       mesg(1), write(1), setuid(2), attributes(5), environ(5)
80

NOTES

82       wall displays ``Cannot send to ...'' when the open on a user's tty file
83       fails.
84
85
86
87SunOS 5.11                        13 Jul 1994                         wall(1M)
Impressum