linux下 write/wall 给其它用户/终端 发送即时文本消息

查看登录用户

[root@router1 ~]# w
 14:53:15 up 6 days, 22:56,  4 users,  load average: 0.00, 0.00, 0.00
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/0    188.0.0.4        14:51    1:33   0.01s  0.01s -bash
root     pts/1    188.0.0.108      14:46    6:48   0.02s  0.02s -bash
root     pts/2    188.0.0.4        14:46    1:10   0.07s  0.07s -bash
root     pts/3    188.0.0.4        14:53    0.00s  0.01s  0.00s w
[root@router1 ~]# 

发送消息

[root@router1 ~]# write root pts/1
1234

按回车键发送
ctr+c 结束

你可能感兴趣的:(Linux命令)