summaryrefslogtreecommitdiffstats
path: root/usr.bin/mesg/mesg.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mesg/mesg.1')
-rw-r--r--usr.bin/mesg/mesg.110
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.bin/mesg/mesg.1 b/usr.bin/mesg/mesg.1
index c9f6800..813ac21 100644
--- a/usr.bin/mesg/mesg.1
+++ b/usr.bin/mesg/mesg.1
@@ -66,6 +66,16 @@ Permits messages to be displayed.
If no arguments are given,
.Nm
displays the present message status to the standard output.
+.Sh EXAMPLES
+Disallow messages from other users to the current terminal:
+.Pp
+.Dl "mesg n"
+.Pp
+Allow messages from other users to
+.Pa ttyp1
+(assuming you are also logged in on that terminal):
+.Pp
+.Dl "mesg y </dev/ttyp1"
.Sh DIAGNOSTICS
The
.Nm
OpenPOWER on IntegriCloud