[root@localhost pts]# who
root pts/0 2013-06-06 13:57 (192.168.1.2)
root pts/1 2013-06-06 13:57 (192.168.1.2)
root pts/2 2013-06-06 13:51 (192.168.1.2)
[root@localhost pts]# pkill -kill -t pts/0
[root@localhost pts]# who
root pts/1 2013-06-06 13:57 (192.168.1.2)
root pts/2 2013-06-06 13:51 (192.168.1.2)
转载于:https://blog.51cto.com/myunix/1217193