LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to determine the age of an installation? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-determine-the-age-of-an-installation-216268/)

KnightKrawlur 08-11-2004 12:05 PM

How to determine the age of an installation?
 
Hello All,

I'm new here on these forums, so please forgive me if this is a question that has been answered. I searched, but couldn't find an answer. . .

I've got a Mandrake 8.2 box I setup a while back, in 2001 sometime I think, and I'm wondering if there is any way to determine when exactly.

Are there any files created at the time of installation on an RPM system like this that will help me figure this out? I'm assuming most files will show their compile date and not their installation date. I tried to think of any configuration file that might have been created and not modified since install, but none came to mind.

Any suggestions would be helpful. . .

ranger_nemo 08-11-2004 01:29 PM

On Red Hat and Fedora Core systems, it creates an "install.log" in /root . Check if you have one... If so, "ls -l" to see the date it was created.

KnightKrawlur 08-11-2004 06:50 PM

It's dated September 13, 2003. I know it was installed before that, maybe Mandrake's URPMI updates the install.log when you install new packages.

From looking at other accounts on the machine, it looks as though the .bash_profile and .bash_logout are both created when the account is created. I would assume the root account is setup using the same process as other accounts.

If so, it looks like March 2001, which sounds about right too me, I think the box was setup back in 01.

Tinkster 08-11-2004 07:05 PM

A bit of overkill, but ... :)

Code:

find / -printf "%CY/%Cm/%Cd-%CH:%CM %p\n" | sort -r | tail -n 10


Cheers,
Tink


All times are GMT -5. The time now is 08:27 PM.