Home » Infrastructure » Unix » finding the timestamp of a file on the unix box
finding the timestamp of a file on the unix box [message #98437] Wed, 06 October 2004 13:50 Go to next message
chetna
Messages: 21
Registered: July 2004
Junior Member
 

using a unix command/script ,can we find the timestamp of a file --- when it was created, or when it was brought from an ftp site ?

ie. just like we find a file --using the "find command", is there a command for the timestamp/or day.

 

thanks
Re: finding the timestamp of a file on the unix box [message #98441 is a reply to message #98437] Wed, 13 October 2004 06:36 Go to previous message
Frank Naude
Messages: 4579
Registered: April 1998
Senior Member
Hi,

Try to use "ls -l", or use the "find" command with -ctime (create time).

Best regards.

Frank
Previous Topic: syncsort
Next Topic: Convert a Fixed width flat file to a coma delimeted file using unix
Goto Forum:
  


Current Time: Fri Apr 19 03:33:02 CDT 2024