[root@linuxidc ~]# last -10 -a
root pts/1 Wed Dec 18 09:54 still logged in :0.0
root pts/4 Wed Dec 18 09:43 - 09:48 (00:04) :0.0
root pts/1 Wed Dec 18 09:43 - 09:48 (00:05) :0.0
root pts/3 Wed Dec 18 09:41 - 12:40 (02:59) 192.168.103.79
root pts/4 Wed Dec 18 09:28 - 09:30 (00:01) :0.0
root pts/3 Wed Dec 18 09:27 - 09:30 (00:02) :0.0
root pts/2 Wed Dec 18 09:27 still logged in 192.168.103.29
root pts/1 Wed Dec 18 09:27 - 09:42 (00:15) :0.0
root pts/2 Wed Dec 18 09:23 - 09:25 (00:01) :0.0
root pts/1 Wed Dec 18 09:22 - 09:25 (00:02) :0.0
wtmp begins Wed Dec 11 03:02:17 2013
4:不显示登入系统的主机名称或IP地址
[root@linuxidc ~]# last -10 -R
root pts/1 Wed Dec 18 09:54 still logged in
root pts/4 Wed Dec 18 09:43 - 09:48 (00:04)
root pts/1 Wed Dec 18 09:43 - 09:48 (00:05)
root pts/3 Wed Dec 18 09:41 - 12:40 (02:59)
root pts/4 Wed Dec 18 09:28 - 09:30 (00:01)
root pts/3 Wed Dec 18 09:27 - 09:30 (00:02)
root pts/2 Wed Dec 18 09:27 still logged in
root pts/1 Wed Dec 18 09:27 - 09:42 (00:15)
root pts/2 Wed Dec 18 09:23 - 09:25 (00:01)
root pts/1 Wed Dec 18 09:22 - 09:25 (00:02)
wtmp begins Wed Dec 11 03:02:17 2013
5: 指定/var/log/btmp文件,查看登录系统的用户相关信息