Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2011 11:56:45 +0300
From:      Alexandr Sushko <alexandrsushko@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Date of a FreeBSD installation
Message-ID:  <4D41334D.3040103@gmail.com>
In-Reply-To: <4D2F606D.6090407@gmail.com>
References:  <4D2F606D.6090407@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D41334D.3040103>