summaryrefslogtreecommitdiffstats
path: root/term-utils/wall.1
diff options
context:
space:
mode:
authorKarel Zak2013-08-13 11:45:54 +0200
committerKarel Zak2013-08-13 11:45:54 +0200
commitcdd3cc7fa4cafde492039180bb47f27ab8422261 (patch)
tree9ebc6b4f4d00b489bd52bf26f36616e7d800dd10 /term-utils/wall.1
parentlast: add link to util-linux to last.1 (diff)
downloadkernel-qcow2-util-linux-cdd3cc7fa4cafde492039180bb47f27ab8422261.tar.gz
kernel-qcow2-util-linux-cdd3cc7fa4cafde492039180bb47f27ab8422261.tar.xz
kernel-qcow2-util-linux-cdd3cc7fa4cafde492039180bb47f27ab8422261.zip
wall: allow to specify <message> on command line
wall(1) from sysvinit supports # wall I love this company! semantic, This patch add this functionally to the util-linux wall. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/wall.1')
-rw-r--r--term-utils/wall.113
1 files changed, 8 insertions, 5 deletions
diff --git a/term-utils/wall.1 b/term-utils/wall.1
index 4d2a9f7c1..9bf3b2653 100644
--- a/term-utils/wall.1
+++ b/term-utils/wall.1
@@ -33,15 +33,17 @@
.\"
.\" Modified for Linux, Mon Mar 8 18:07:38 1993, faith@cs.unc.edu
.\"
-.TH WALL "1" "September 2011" "util-linux" "User Commands"
+.TH WALL "1" "August 2013" "util-linux" "User Commands"
.SH NAME
wall \- write a message to users
.SH SYNOPSIS
.B wall
-[-n] [-t TIMEOUT] [file]
+[-n] [-t TIMEOUT] [file | message]
.SH DESCRIPTION
.B Wall
-displays the contents of
+displays a
+.I message
+or contents of
.I file
or, by default, its standard input, on the terminals of all currently logged
in users. The command will cut over 79 character long lines to new lines.
@@ -51,8 +53,9 @@ always put carriage return and new line at the end of each line.
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.
.PP
-Reading from a file is refused when the invoker is not superuser and the
-program is suid or sgid.
+Reading from a
+.I file
+is refused when the invoker is not superuser and the program is suid or sgid.
.SH OPTIONS
.TP
\fB\-n\fR, \fB\-\-nobanner\fR