리눅스_명령어_Life

mesg

콘솔로 메세지 보내는거 허용이나 차단하는 명령어



[root@localhost bin]# mesg 
is y
[root@localhost bin]# write hello pts/0
write: hello is not logged in on pts/0.
[root@localhost bin]# write root pts/0

Message from root@localhost.localdomain on pts/0 at 13:46 ...
hello
hello
EOF
[root@localhost bin]# mesg n
[root@localhost bin]# mesg
is n
[root@localhost bin]# 
[root@localhost bin]# mesg
is n
[root@localhost bin]# write root pts/0
write: you have write permission turned off.
[root@localhost bin]# mesg y
[root@localhost bin]# write root pts/0

Message from root@localhost.localdomain on pts/0 at 13:47 ...
hello
hello
EOF

 

댓글

댓글 본문
작성자
비밀번호
graphittie 자세히 보기