YouTip LogoYouTip

Linux Comm Mesg

# Linux mesg Command [![Image 3: Linux Command Manual](#) Linux Command Manual](#) The Linux mesg command is used to set the write permissions of the terminal. When mesg is set to y, other users can use the write command to display messages directly on your screen. ### Syntax mesg **Parameters**: * n Do not allow other users to display messages directly on your screen. * y Allow other users to display messages directly on your screen. ### Example Allow other users to send messages to the current terminal. Root's terminal # mesg y //Set to allow sending messages in this terminal Other regular user's terminal: $ write root pts/4 hello hello EOF //Ctrl+D to end input Root's terminal display # Message from root@w3cschool.cc (as hnlinux) on pts/5 at 14:48 ... hello EOF [![Image 4: Linux Command Manual](#) Linux Command Manual](#)
← Linux Comm DnsconfLinux Comm Minicom β†’