man-pages/man1/wall.1.html
2021-03-31 01:06:50 +01:00

143 lines
3.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of WALL</TITLE>
</HEAD><BODY>
<H1>WALL</H1>
Section: User Commands (1)<BR>Updated: August 2013<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
wall - write a message to all users
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>wall</B>
[<B>-n</B>]
[<B>-t</B>
<I>timeout</I>]
[<B>-g</B>
<I>group</I>]
[<I>message</I> | <I>file</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>wall</B>
displays a
<I>message</I>,
or the contents of a
<I>file</I>,
or otherwise its standard input, on the terminals of all currently logged
in users. The command will wrap lines that are longer than 79 characters.
Short lines are whitespace padded to have 79 characters. The command will
always put a carriage return and new line at the end of each line.
<P>
Only the superuser can write on the terminals of users who have chosen to
deny messages or are using a program which automatically denies messages.
<P>
Reading from a
<I>file</I>
is refused when the invoker is not superuser and the program is
set-user-ID or set-group-ID.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-n</B>,<B> --nobanner</B>
<DD>
Suppress the banner.
<DT id="2"><B>-t</B>,<B> --timeout </B><I>timeout</I>
<DD>
Abandon the write attempt to the terminals after <I>timeout</I> seconds.
This <I>timeout</I> must be a positive integer. The default value
is 300 seconds, which is a legacy from the time when people ran terminals over
modem lines.
<DT id="3"><B>-g</B>,<B> --group </B><I>group</I>
<DD>
Limit printing message to members of group defined as a
<I>group</I>
argument. The argument can be group name or GID.
<DT id="4"><B>-V</B>,<B> --version</B>
<DD>
Display version information and exit.
<DT id="5"><B>-h</B>,<B> --help</B>
<DD>
Display help text and exit.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>NOTES</H2>
Some sessions, such as wdm, that have in the beginning of
<B><A HREF="/cgi-bin/man/man2html?5+utmp">utmp</A></B>(5)
ut_type data a ':' character will not get the message from
<B>wall</B>.
This is done to avoid write errors.
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+mesg">mesg</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+talk">talk</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+write">write</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?8+shutdown">shutdown</A></B>(8)
<A NAME="lbAH">&nbsp;</A>
<H2>HISTORY</H2>
A
<B>wall</B>
command appeared in Version 7 AT&amp;T UNIX.
<A NAME="lbAI">&nbsp;</A>
<H2>AVAILABILITY</H2>
The wall command is part of the util-linux package and is available from
Linux Kernel Archive
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="6"><A HREF="#lbAB">NAME</A><DD>
<DT id="7"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="8"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="9"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="10"><A HREF="#lbAF">NOTES</A><DD>
<DT id="11"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="12"><A HREF="#lbAH">HISTORY</A><DD>
<DT id="13"><A HREF="#lbAI">AVAILABILITY</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:29 GMT, March 31, 2021
</BODY>
</HTML>