Mesg
Encyclopedia
mesg is a Unix
command
that sets or reports the permission other users have to write to your terminal using the
The 'y' and 'n' options respectively allow and disallow write access to your terminal. When invoked with no option, the current permission is printed.
Input redirection may be used to control the permission of another TTY
. For example:
Unix
Unix is a multitasking, multi-user computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs, including Ken Thompson, Dennis Ritchie, Brian Kernighan, Douglas McIlroy, and Joe Ossanna...
command
Command (computing)
In computing, a command is a directive to a computer program acting as an interpreter of some kind, in order to perform a specific task. Most commonly a command is a directive to some kind of command line interface, such as a shell....
that sets or reports the permission other users have to write to your terminal using the
talk
and writeWrite (Unix)write can refer to several Unix commands. All known variations of write are used to write messages to another user. The most popular variation sends a message directly to another user's TTY.-Usage:The syntax for the write command is:...
commands. It is invoked as:The 'y' and 'n' options respectively allow and disallow write access to your terminal. When invoked with no option, the current permission is printed.
Input redirection may be used to control the permission of another TTY
Tty (Unix)
tty is a Unix command that prints to standard output the name of the terminal connected to standard input. The name of the program comes from teletypewriter, abbreviated "TTY".When the program runs, it will output something like this:$ tty/dev/pts/4...
. For example: