linux消息
w:查看用户
tty:查看自己所使用的终端
write root pts/0 :发消息给root pts/0
wall: 广播消息
mesg n:禁止别人把信息显示在我的终端
mesg y:允许别人把信息显示在我的终端
强制踢用户:
w
who #具体终端
who am i #自己终端
pkill -kill -t pts/0 #pts/0被踢下线了
也可以: ps -ef |grep pts/ 然后kill掉进程即可。
pkill -KILL -u username