*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> mesg (1)              



NAME    [Toc]    [Back]

       mesg - control write access to your terminal

SYNOPSIS    [Toc]    [Back]

       mesg [y|n]

DESCRIPTION    [Toc]    [Back]

       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

OPTIONS    [Toc]    [Back]

       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

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

AUTHOR    [Toc]    [Back]

       Miquel van Smoorenburg (miquels@cistron.nl)

SEE ALSO    [Toc]    [Back]

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

				 Feb 26, 2001			       MESG(1)
[ Back ]
 Similar pages
Name OS Title
tis_write_unlock Tru64 Unlocks the specified read-write lock that was acquired for write access
pthread_rwlock_wrlock Tru64 Acquires a read-write lock for write access
tis_write_lock Tru64 Acquires the specified read-write lock for write access
termios Linux get and set terminal attributes, line control, get and set baud rate, get and set terminal foregroun...
lock_write Tru64 Asserts a complex lock with write access
rgbwritemask IRIX grants write access to a subset of available bitplanes
lock_try_write Tru64 General: Tries to assert a complex lock with write access
pthread_rwlock_trywrlock Tru64 Attempts to acquire a readwrite lock for write access without waiting
posix_openpt FreeBSD pseudo-terminal access functions
ptsname FreeBSD pseudo-terminal access functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service