mesg is a Unix command that sets or reports the permission other users have to write to the current user's terminal using the talk and write commands.
via Wikipedia infobox
Grant permission to other users to send messages to the terminal device. Deny permission to other users to send messages to the terminal device. Provide a default value for the internationalization variables that are unset or null. (See XBD Internationalization Variables for the precedence of internationalization variables used to determine the values of locale categories.) If set to a non-empty string value, override the values of all the other internationalization variables. [XSI) ] ![[Option Start]]( Determine the location of message catalogs for the processing of LC MESSAGES. ![[Option End]]( The file /dev/tty is not specified for the terminal device because it was thought to be too restrictive. Typical environment changes for the n operand are that write permissions are removed for others and group from the appropriate device. It was decided to leave the actual description of what is done as unspecified because of potential differences between implementations. The format for standard output is unspecified because of differences between historical implementations. This output is generally not useful to shell scripts (they can use the exit status), so exact parsing of the output is unnecessary. This utility is marked as part of the User Portability Utilities option. The mesg utility is moved from the User Portability Utilities option to the Base. User Portability Utilities is now an option for interactive utilities.
~1 min read
mesg is a Unix command that sets or reports the permission other users have to write to the current user's terminal using the talk and write commands.
==Usage== It is invoked as:
Excerpt from a page describing this subject · 7,121 chars · not written by Vinony
via Wikidata · CC0
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).