[CentOS] installed centos date & time

Paul Heinlein heinlein at madboa.com
Fri Jun 15 13:44:44 UTC 2007


On Fri, 15 Jun 2007, centos.users at digitalmedia.newsquest.co.uk wrote:

> On Friday 15 June 2007 12:55, Hiep Nguyen wrote:
>
>> hi list, is there a command to find out the date & time that centos
>> installed?
>
> One way would be to check the creation time of the install.log or 
> upgrade.log in /root (providing you haven't deleted them).
>
> ls -lc --time-style=full-iso /root/*.log

That's as good a way as any. You might try verifying that by checking 
the change times of, say, the five oldest Texinfo pages on your 
system:

   stat -c "%z" /usr/share/info/* | sort -nr | tail -n 5

If those dates agree with the ones for /root/*log and /root/anaconda*, 
then that's a pretty good candidate.

-- 
Paul Heinlein <> heinlein at madboa.com <> www.madboa.com



More information about the CentOS mailing list