IPB
>  Man Pages > Unix > FreeBSD 6.2 > Section 1 > mesg man page

mesg man page

Section 1 - FreeBSD 6.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


MESG(1)                 FreeBSD General Commands Manual                MESG(1)


NAME

     mesg -- display (do not display) messages from other users


SYNOPSIS

     mesg [n | y]


DESCRIPTION

     The mesg utility is invoked by a user to control write access others have
     to a terminal device.  Write access is allowed by default, and programs
     such as talk(1) and write(1) may display messages on the terminal.

     The first terminal device in the sequence of devices associated with
     standard input, standard output and standard error is affected.

     The following options are available:

     n       Disallow messages.

     y       Permit messages to be displayed.

     If no arguments are given, mesg displays the present message status to
     the standard output.


EXIT STATUS

     The mesg utility exits with one of the following values:

            0    Messages are allowed.
            1    Messages are not allowed.
           >1    An error has occurred.


EXAMPLES

     Disallow messages from other users to the current terminal:

           mesg n

     Allow messages from other users to ttyp1 (assuming you are also logged in
     on that terminal):

           mesg y </dev/ttyp1


COMPATIBILITY

     Previous versions of the mesg utility wrote the message status to the
     standard error output and affected the terminal attached to standard
     error without first trying the standard input or output devices.


SEE ALSO

     biff(1), talk(1), wall(1), write(1)


STANDARDS

     The mesg utility conforms to IEEE Std 1003.1-2001 (``POSIX.1'').


HISTORY

     A mesg command appeared in Version 1 AT&T UNIX.

FreeBSD 6.2                       May 5, 2002                      FreeBSD 6.2


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 19 19:57:30 BST 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

svn man page (5497 hits)
(FreeBSD 6.2)

sqlite3 man page (5423 hits)
(openSUSE 10.2)

adv_cap_autoneg man page (4921 hits)
(Solaris 10 11_06)

CPAN man page (4660 hits)
(Suse Linux 10.1)

ssh man page (4365 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (3081 hits)
(Solaris 10 11_06)

netcat man page (2904 hits)
(Suse Linux 10.1)

signal man page (2756 hits)
(Suse Linux 10.1)

startproc man page (2549 hits)
(Suse Linux 10.1)

pprosetup man page (2548 hits)
(Solaris 10 11_06)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Mountain Holidays :: PCB Layout, CadStar :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum