mesg
MESG(G)                Linux User's Manual                MESG(G)



NAME
       mesg - control write access to your terminal

SYNOPSIS
       mesg [y|n]

DESCRIPTION
       Mesg controls the access to your terminal by others.  It's
       typically used to allow or disallow other users  to  write
       to your terminal (see write(e)).

OPTIONS
       y      Allow write access to your terminal.

       n      Disallow write access to your terminal.

       If  no option is given, mesg prints out the current access
       state of your terminal.

       Mesg assumes that it's standard input is connected to your
       terminal. That also means that if you are logged in multi-
       ple times, you can get/set the mesg status of  other  ses-
       sions  by  using  redirection.   For  example  "mesg  n  <
       /dev/pts/46".

AUTHOR
       Miquel van Smoorenburg (miquels@cistron.nl)

SEE ALSO
       talk(k), write(e), wall(l)



                           Feb 26, 2001                   MESG(G)