如何查看linux系统的安装时间


在windows下查看系统安装时间是很方便的。在linux下,由于root、bin、daemon等账号就是在系统安装时创建的,因此这些帐号的创的时间基本上就是 Linux 系统的安装时间:
[root@centos5 ~]# passwd -S root
root PS 2011-07-19 0 99999 7 -1 (Password set, MD5 crypt.)
[root@centos5 ~]# passwd -S bin
bin LK 2011-07-19 0 99999 7 -1 (Alternate authentication scheme in use.)
[root@centos5 ~]# passwd -S daemon
daemon LK 2011-07-19 0 99999 7 -1 (Alternate authentication scheme in use.)
[root@centos5 ~]#
 
本文出自 “追梦人” 博客

相关内容

    暂无相关文章