Loading... <div class="tip share">请注意,本文编写于 601 天前,最后修改于 424 天前,其中某些信息可能已经过时。</div> # 查看Linux系统版本 ```bash cat /etc/os-release ``` # CentOS ```bash cat /dev/null > /var/log/wtmp cat /dev/null > /var/log/btmp cat /dev/null > /var/log/lastlog cat /dev/null > /var/log/secure history -cw ``` # Ubuntu ```bash cat /dev/null > /var/log/wtmp cat /dev/null > /var/log/btmp cat /dev/null > /var/log/lastlog cat /dev/null > /var/log/auth.log history -cw ``` 最后修改:2022 年 04 月 04 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 1 如果觉得我的文章对你有用,请随意赞赏