Date of a FreeBSD installation

Alexandr Sushko alexandrsushko at gmail.com
Thu Jan 27 09:27:43 UTC 2011


On 01/13/2011 11:28 PM, David Demelier wrote:
> Hello folks,
>
> I'm just guessing if there is a way to know a FreeBSD installation 
> date. We can't look after the uname -a ident since an update of the 
> FreeBSD kernel is possible.
>
> I think searching a file absolutely not touched ever in the system can 
> helps but which one?
>
> markand at Melon ~ $ ls -l /root/.cshrc
> -rw-r--r--  2 root  wheel  798 19 Jul 04:17 /root/.cshrc
>
> It seems that this file has the FreeBSD dist access time so can't 
> refers to neither.
>
> Do you have any clue?
>
> Cheers,
>

Try to use not ls -l, but ls -lc. It will show you file creation time.

ls -lcd /bin/, for example

drwxr-xr-x  2 root  wheel  1024 Dec 10 00:31 /bin/

-- 
Best regards,
Alexandr Sushko



More information about the freebsd-questions mailing list