Два юзера на одной линукс машине. В cli. Как послать друг другу сообщение. Вот так :)
nat9@nat9:~$ write mitya pts/0
write: write: you have write permission turned off.
usage: write user [tty]
nat9@nat9:~$ mesg
is n
nat9@nat9:~$ man mesg
nat9@nat9:~$ mesg y
nat9@nat9:~$ who
mitya pts/0 2011-03-02 04:27 (10.19.90.131)
nat9 pts/2 2011-03-02 04:37 (10.19.79.40)
nat9@nat9:~$ write nat9 pts/2
Message from nat9@nat9 on pts/2 at 04:42 ...
hi
hi
^CEOF
nat9@nat9:~$ write mitya pts/0
write: mitya has messages disabled on pts/0
nat9@nat9:~$ write mitya pts/0
write: write: you have write permission turned off.
usage: write user [tty]
nat9@nat9:~$ mesg
is n
nat9@nat9:~$ man mesg
nat9@nat9:~$ mesg y
nat9@nat9:~$ who
mitya pts/0 2011-03-02 04:27 (10.19.90.131)
nat9 pts/2 2011-03-02 04:37 (10.19.79.40)
nat9@nat9:~$ write nat9 pts/2
Message from nat9@nat9 on pts/2 at 04:42 ...
hi
hi
^CEOF
nat9@nat9:~$ write mitya pts/0
write: mitya has messages disabled on pts/0
Тестовый коммент
ОтветитьУдалить