Date of a FreeBSD installation

Carl Chave carl at chave.us
Fri Jan 14 05:04:16 UTC 2011


> I'd suggest looking at the Btimes of top level directories
>
> stat -f "%SB %N" /*

Or how about just / as this ~15 minutes earlier than most of the
remaining top level directories


sodserve# stat -f "%SB %N" /*
Jan  9 04:54:21 2011 /COPYRIGHT
Jan  9 04:54:21 2011 /bin
Jan  9 04:54:21 2011 /boot
Dec 31 18:59:59 1969 /dev
Jan  9 04:54:21 2011 /etc
Jan  9 04:54:21 2011 /lib
Jan  9 04:54:21 2011 /libexec
Jan  9 04:54:21 2011 /media
Jan  9 04:54:21 2011 /mnt
Jan  9 04:54:21 2011 /proc
Jan  9 04:54:21 2011 /rescue
Jan  9 04:54:21 2011 /root
Jan  9 04:54:21 2011 /sbin
Jan  9 04:54:21 2011 /sys
Jan  9 04:48:39 2011 /tmp
Jan  9 04:48:45 2011 /usr
Jan  9 04:49:39 2011 /var

sodserve# stat -f "%SB %N" /
Jan  9 04:39:59 2011 /


More information about the freebsd-questions mailing list