查看linux安装日期,可以通过一下两种办法 2、passwd -S bin 看bin用户什么时候建立的,显示的日期就是linux安装日期 比如查看 A 什么时候安装的就可以这样执行 drwx------ 2 root root 16K 04-19 18:03 lost+found Modify: 2011-04-19 18:03:24.000000000 +0800 passwd -S bin bin LK 2011-04-19 0 99999 7 -1 (Alternate authentication scheme in use.) |
|