UNIX Shells by Example (4th Edition)

 <  Day Day Up  >  

mesg ” permits or denies messages resulting from the write command

mesg [ n ] [ y ]

mesg with argument “n forbids messages via write by revoking nonuser write permission on the user 's terminal. mesg with argument “y reinstates permission. All by itself, mesg reports the current state without changing it.

 <  Day Day Up  >  

Категории