Operating System - HP-UX
1835025 Members
2621 Online
110073 Solutions
New Discussion

Re: How to see file creation date thru cli in Unix

 
rajeeva
New Member

How to see file creation date thru cli in Unix

I wanted to see file creation date.
Please help me.
3 REPLIES 3
Rasheed Tamton
Honored Contributor

Re: How to see file creation date thru cli in Unix

ls -l (ll)

Column 6, 7 & 8 show the Day, Date & Time.
Dennis Handly
Acclaimed Contributor

Re: How to see file creation date thru cli in Unix

UNIX systems don't keep the creation date. Just the date of last modification and inode (ls -c) modification.
Rasheed Tamton
Honored Contributor

Re: How to see file creation date thru cli in Unix

Of course, if the file is modified it will show the modification date only - as Dennis said. If it is not modified it will show the creation date.

ls -u last access instead of last modification