Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mesg(1) [bsd man page]

MESG(1) 						      General Commands Manual							   MESG(1)

mesg - permit or deny messages SYNOPSIS
mesg [ n ] [ y ] DESCRIPTION
Mesg with argument n forbids messages via write and talk(1) by revoking non-user write permission on the user's terminal. Mesg with argu- ment y reinstates permission. All by itself, mesg reports the current state without changing it. FILES
/dev/tty* SEE ALSO
write(1), talk(1) DIAGNOSTICS
Exit status is 0 if messages are receivable, 1 if not, 2 on error. 7th Edition April 29, 1985 MESG(1)

Check Out this Related Man Page

mesg(1) 							   User Commands							   mesg(1)

mesg - permit or deny messages SYNOPSIS
mesg [-n | -y | n | y] DESCRIPTION
The mesg utility will control whether other users are allowed to send messages via write(1), talk(1), or other utilities to a terminal device. The terminal device affected is determined by searching for the first terminal in the sequence of devices associated with standard input, standard output, and standard error, respectively. With no arguments, mesg reports the current state without changing it. Processes with appropriate privileges may be able to send messages to the terminal independent of the current state. OPTIONS
The following options are supported: -n|n Denies permission to other users to send message to the terminal. See write(1). -y|y Grants permission to other users to send messages to the terminal. ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of mesg: LANG, LC_ALL, LC_CTYPE, LC_MES- SAGES, and NLSPATH. EXIT STATUS
The following exit values are returned: 0 if messages are receivable. 1 if messages are not receivable. 2 on error. FILES
/dev/tty* terminal devices /dev/pts/* terminal devices ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
talk(1), write(1), attributes(5), environ(5), standards(5) SunOS 5.10 31 Oct 1997 mesg(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Linux or unix "IRQ"

hi 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)
Discussion started by: balla
4 Replies

2. UNIX for Dummies Questions & Answers

hardware info

is there a command to find out processor speed, RAM size, ets? i need it for Solaris 5.6, 5.7 and linux (4 Replies)
Discussion started by: sillY
4 Replies

3. UNIX for Dummies Questions & Answers

solaris2.6 command to find/list system configuration

Hi. What command can be used to determine the system configuration. For example I want to find out how much CPU, how much memory, what CPU and 233mhz or 400mhz, etc. Please help.... (4 Replies)
Discussion started by: subhransu
4 Replies

4. UNIX for Dummies Questions & Answers

Accessing Multi Hard Disk & theme

Hie, 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)
Discussion started by: killerserv
8 Replies

5. UNIX for Dummies Questions & Answers

How to the configuration of the system

How to know configuration information of the system. like (1) memory assigned for RAM - ? (2) How much is the Hard disk -? (3) processor I used uname and du -k commands. But i couldn't get information about RAM. which command gives this info (3 Replies)
Discussion started by: ds_sastry
3 Replies

6. UNIX for Dummies Questions & Answers

sun dmesg says

Oct 22 13:40:07 snmpdx: community_check() : bad community from Oct 22 13:40:07 snmpdx: session_open() failed for a pdu received from any help? thanks (4 Replies)
Discussion started by: yls177
4 Replies

7. UNIX for Dummies Questions & Answers

dmesg freebsd

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)
Discussion started by: hachik
6 Replies

8. UNIX for Dummies Questions & Answers

dmesg on a sun, unqualified host

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)
Discussion started by: yls177
11 Replies

9. UNIX for Dummies Questions & Answers

Amount of RAM (Memory)

How do i check/get the total amount of RAM, on a machine running UNIX? (4 Replies)
Discussion started by: samudimu
4 Replies

10. HP-UX

dmesg error ??

Hi all, 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)
Discussion started by: davidg
3 Replies

11. Solaris

[REQ] tool analyzer for /var/adm/messages

hi all, i am trying to find a tool to analyze the var/adm/messages. is there any? thanks, Mahm. (6 Replies)
Discussion started by: mahm_14
6 Replies

12. Solaris

Understanding dmesg and usb hardware mounting

The Scenario: 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)
Discussion started by: striker0010
5 Replies

13. HP-UX

Dmesg with date possible?

Hi there, I miss date information when executing # dmesg Is it possible to add this a date information to my results of # dmesg ? Best wishes (12 Replies)
Discussion started by: System
12 Replies

14. Red Hat

Dmesg errors

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)
Discussion started by: jegaraman
7 Replies

15. Fedora

SD's, fsck, dmesg, freezing, and the Corrupt FAT-fs

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)
Discussion started by: Beta_OmegaAdinf
4 Replies