File creation time and date
Matthew Galgoci
mgalgoci at redhat.com
Tue Aug 4 17:32:28 UTC 2009
> Date: Tue, 4 Aug 2009 22:43:15 +0530
> From: nitin.gizare at wipro.com
> Reply-To: redhat-sysadmin-list at redhat.com
> To: redhat-sysadmin-list at redhat.com
> Subject: File creation time and date
>
> HI
>
> I have requirement to know information about creation and time of file
> first time.
>
> Please help with required commands.
>
stat is probably what you want:
[test at localhost ~]$ stat foo
File: `foo'
Size: 61 Blocks: 8 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 37421192 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( 500/test) Gid: ( 500/test)
Access: 2009-08-04 12:49:33.000000000 -0400
Modify: 2009-08-04 12:49:33.000000000 -0400
Change: 2009-08-04 12:49:33.000000000 -0400
[test at localhost ~]$
--
Matthew Galgoci
Network Operations
Red Hat, Inc
919.754.3700 x44155
More information about the redhat-sysadmin-list
mailing list