Previous Section  < Day Day Up >  Next Section

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.

    Previous Section  < Day Day Up >  Next Section