File creation time and date

nitin.gizare at wipro.com nitin.gizare at wipro.com
Tue Aug 4 17:34:29 UTC 2009


HI

Thanks I will check with stat command.

Rgds
Nitin

-----Original Message-----
From: redhat-sysadmin-list-bounces at redhat.com
[mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Matthew
Galgoci
Sent: Tuesday, August 04, 2009 11:02 PM
To: redhat-sysadmin-list at redhat.com
Subject: Re: File creation time and date

> 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

--
redhat-sysadmin-list mailing list
redhat-sysadmin-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list




More information about the redhat-sysadmin-list mailing list