Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我访问了一个由其他人管理的 ubuntu 10.04LTS 服务器,我感觉它最近没有得到更新/升级。
有没有办法在没有 sudo 权限的情况下检查最后一次更新时的命令行?
如果权限没有从默认值更改,Ubuntu 中的 unprivledge 用户可以读取 apt 历史日志:
less /var/log/apt/history.log
如果您只关心您可以多久:
grep Start-Date /var/log/apt/history.log