write

向某个终端上的特定用户的屏幕写入信息(<Ctrl c> 来停止写入)。 使用 who 命令来获取所有活动用户的终端 id. 参见 mesg. 更多信息:https://manned.org/write.1p.

write {{username}} {{terminal_id}}

write {{testuser}} {{tty/5}}

write {{johndoe}} {{pts/5}}