any ideas please ? first off I thought that I could easily check the timestamp of particular files, but then I realized that it wouldn't be so easy when I saw timestamps like 1991 :-)
|
|
The simplest way would probably be (presuming sda1 is your /root/):
This should show you the date on which the file system was created. Confirmed to work on ext2 to ext4, not sure about other file systems! |
|||||||||
|
|
One mechanism I often use is to check the change time (ctime) on files within the root home directory. Since the By default, the
This will print all files, display the create time, and sort by time. As an example, here is a sample of the 3 oldest files in the
And then by checking the change time
The date Feb 18th of 2010 certainly tracks with the approximate time I would have first installed that system. |
|||||||
|
|
try
the keys are generated when you install the os. |
|||||
|
|
With RedHat and derivatives, it's pretty easy to get a general idea of the OS version/vintage through a combination of file age and other system files. I'll usually check the |
|||
|
|
|
Checking the hardware would be a good bet, if you have access to it. You could inspect the system and/or hardware components to get a good idea of when it was assembled. Alternately, if you can gain access to the BIOS screen there's often date info there that can be used to determine how old a machine is. If you can gain access to the SMART info on the hard drive ( As for filesystem checks, you could look at the date info for |
|||
|
|
|
This also works for Red Hat systems:
|
|||
|
protected by Chris S♦ Aug 1 '12 at 19:14
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.