Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 09:50:38 +0930
From:      Shaun Branden <shaun@pcuse.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Create times
Message-ID:  <20020415095038.B436@dingoblue.net.au>
In-Reply-To: <002701c1e229$cfba63c0$0601a8c0@nixfusion.com>; from casey@nixfusion.com on Fri, Apr 12, 2002 at 08:56:14AM -0500
References:  <002701c1e229$cfba63c0$0601a8c0@nixfusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 12, 2002 at 08:56:14AM -0500, Casey Scott wrote:
>     How can I get the create time of files? Doesn't the FBSD filesystem
> record such information? If the answer is in the man pages, I can't find it.
> 

stat ( /usr/ports/sysutils/stat ) gives useful information, eg:
shaun@sagan:shaun$ stat webalizer_sample.conf 
  File: "webalizer_sample.conf"
  Size: 23904   Allocated Blocks: 48    Filetype: Regular File
  Mode: (0644/-rw-r--r--)       Uid: (1001/shaun) Gid: (1004/admin)
Device: 160774  Inode: 730673   Links: 1        
Access: Mon Apr 15 07:59:13 2002
Modify: Mon Jul  2 11:16:49 2001
Change: Sun Nov  4 21:09:07 2001


hope that helps

Shaun
-- 
Shaun Branden, email:  shaun@pcuse.com    It's a damn poor mind
icq: 10469563, homepage: www.pcuse.com    that can only think of
public key www.pcuse.com/shaun/key.txt    one way to spell a word
Computerbank SA:  www.linunix.com/cbsa    -- Andrew Jackson

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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