Linux 查看 root 用户上个月的登陆历史

用 last 命令读取 /var/log/wtmp.1 文件:

last -f wtmp.1 root

https://serverfault.com/a/305743

发布了188 篇原创文章 · 获赞 88 · 访问量 58万+

猜你喜欢

转载自blog.csdn.net/henryhu712/article/details/89450731
今日推荐