Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question about Aix file timestamps

Status
Not open for further replies.

balajipn

Programmer
Mar 30, 2004
65
0
0
IN
Hi,

I would like to find out the "create timestamp", "accessed timestamp" and "modified timestamp" of a file in Aix 4.3. Can some one help me.

Thanks,
Balaji.
 
There is no "create timestamp". Don't be fooled by any reference to "ctime" you might see in the documentation. "ctime" is the time the inode was last changed, which can be the time created, but isn't always.

Code:
istat filename

will give you "last updated" (which is ctime) plus the other two you want.

- Rod


IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

A Simple Code for Posting on the Web
 
Thanks. That was very helpful.

Thanks,
Balaji.
 
So there is no way to get the create timestamp of a file in AIX?.

Thanks,
Balaji.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top