摘要:
[转]查询当前登入系统的用户 who [root@lyy ~]# who root tty1 2010-12-09 19:16 root pts/0 2010-12-09 19:29 (192.168.197.1) 第一列 登录的用户 第二列终端名 第三列 登录时间 查询每个用户最近登录时间 lastlog [root@lyy ~]# lastlog 用户名 端口 来自 最后登陆时间 root pts/0 192.168.197.1 四 12月 9 19:29:15 +0800 2010 bin **从未登录过** daemon **从未登录过** pcca tty1 二 12月 7 22:0 阅读全文