Linux mesg Command

In this tutorial we learn how to use mesg commmand in Linux. mesg command is mesg - display (or do not display) messages from other users

What is Linux mesg Command?

In this tutorial we learn how to use mesg command in Linux. mesg command is mesg - display (or do not display) messages from other users

mesg Syntax

       mesg [option] [n|y]

mesg Examples

mesg Command Manual / Help

We can use man and info command to see the manual page of mesg command.

mesg command also have --help option to show list of options.

To open man page for mesg command we can use command below. To exit man or info page you can press q.

man mesg

To open info page for mesg command we can use command below.

info mesg

To open help page from mesg command we can run command below.

mesg --help

Linux mesg Command Source Code

You can find mesg command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use mesg in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.