举例: [root@test temp]# cat data.txt | wall Broadcast message from root (Mon Sep 24 11:21:22 2012): u:01:gnu d:04:linux u:01:bash u:01:hack [root@test temp]# 那么在另一个登录终端将显示: Broadcast message from root (Mon Sep 24 11:21:22 20
举例:
[root@test temp]# cat data.txt | wall
Broadcast message from root (Mon Sep 24 11:21:22 2012):
u:01:gnu
d:04:linux
u:01:bash
u:01:hack
[root@test temp]#
那么在另一个登录终端将显示:
Broadcast message from root (Mon Sep 24 11:21:22 2012):
u:01:gnu
d:04:linux
u:01:bash
u:01:hack
或者是:
[root@test temp]# wall 'hello words ,i love you'
Broadcast message from root (pts/0) (Mon Sep 24 11:23:16 2012):
hello words ,i love you
[root@test temp]#
另外的登录终端将显示:
Broadcast message from root (pts/0) (Mon Sep 24 11:23:16 2012):
hello words ,i love you
如果是文件:,那么
$wall