MESG(1) Linux User's Manual MESG(1)NAME
mesg - control write access to your terminal
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
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 terminal.
Mesg assumes that its 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".
Miquel van Smoorenburg (firstname.lastname@example.org)
SEE ALSO talk(1), write(1), wall(1)
Feb 26, 2001 MESG(1)
Check Out this Related Man Page
MESG(1) BSD General Commands Manual MESG(1)NAME
mesg -- display (do not display) messages from other users
mesg [n | y]
The mesg utility is invoked by a user to control write access others have to a terminal device. Write access is allowed by default, and pro-
grams such as talk(1) and write(1) may display messages on the terminal.
The first terminal device in the sequence of devices associated with standard input, standard output and standard error is affected.
n Disallows messages.
y Permits messages to be displayed.
If no arguments are given, mesg displays the present message status to the standard output.
Disallow messages from other users to the current terminal:
Allow messages from other users to ttyp1 (assuming you are also logged in on that terminal):
mesg y </dev/ttyp1
The mesg utility exits with one of the following values:
0 Messages are allowed.
1 Messages are not allowed.
>1 An error has occurred.
Previous versions of the mesg utility wrote the message status to the standard error output and affected the terminal attached to standard
error without first trying the standard input or output devices.
SEE ALSO biff(1), talk(1), wall(1), write(1)STANDARDS
The mesg utility conforms to IEEE Std 1003.1-2001 (``POSIX.1'').
A mesg command appeared in Version 1 AT&T UNIX.
BSD May 5, 2002 BSD
j have installed a Linux 6.2 on a computer server with 2 network card. Unfortunetely all the both card use the same IRQ 11 than only the first launched(used when the system is started) card run correctely the second don't work at all.
Please can you give me a way to change the IRQ for one of... (4 Replies)
Im having 2 Questions. Please help.
- Do Anyone know how to accessanother HDD using Linux? Ive tried many ways before but unable to do so. Im using 2 HDD, The main Hdd/Partition where my unix is are using Seagate HDD 20GB , another HDD is using Maxtor 20GB. From my seagate Hdd where my... (8 Replies)
How to know configuration information of the system.
(1) memory assigned for RAM - ?
(2) How much is the Hard disk -?
I used uname and du -k commands. But i couldn't get information about RAM.
which command gives this info (3 Replies)
hey,i use freeBSD 4.7stable, dmesg returns me a tons of info like:
ax R *Handler Int
16 aio_max R *Handler Int
17 aio_prio_delta_max R *Handler Int
18 delaytimer_max R *Handler Int
19 mq_open_max R *Handler Int
20 pagesize R *Handler Int
21 rtsig_max R *Handler Int... (6 Replies)
Oct 22 01:01:47 sendmail: My unqualified host name unknown; sleeping for retry
Oct 22 01:02:47 sendmail: unable to qualify my own domain name -- using short name
how to resolve this error
thanks (11 Replies)
I have a very weard error message in my dmesg output, and I cannot find the solution in google. Does anyone know what it might be ?
Equivalently mapped reserve pool exhausted;
Overall application performance may be improved by increasing the "eqmemsize" tunable parameter (currently... (3 Replies)
Solaris 8 box with USB ports on mobo. Two USB devices both fat32 filesystems and mount with the fs type pcfs, device A is a USB thumb drive (1gb), device B is a External HDD (500gb). Insert device A into a usb port; use dmesg output to find the device path (usb@a/storage@2#).... (5 Replies)
Dear All ,
Very recently I find there are a lot of I/O errors in our Red HAt Linux Server.
Pl find the below
end_request: I/O error, dev sdcp, sector 0
sd 7:0:0:32784: SCSI error: return code = 0x00010000
end_request: I/O error, dev sdn, sector 0
sd 7:0:0:33289: SCSI error: return... (7 Replies)
Up until today I haven't had a problem using an SD card with Fedora ( 25 ) but when I went to insert the SD adapter with the micro-sd card this time, the computer froze. It has frozen every time since. It is still reading the card, and after a minute or two of losing control of the GUI and terminal... (4 Replies)