Hi
I need to get the File creation date (MM,DD,YYYY)
using ls -ltr am getting only Month and Day only, I need year also when the file is modified.
Thanks
Hi
I need to get the File creation date (MM,DD,YYYY)
using ls -ltr am getting only Month and Day only, I need year also when the file is modified.
Thanks
If the file was created in the current year you will not get the year with the ls command, but will see the time.
File creation dates are not stored in inode, unless they are modified, the timestamp will be same as creation timestamp
Guys
I asked for year when it is modified..any way i got solution ..i am sharing with u
use the following command
ls --full-time
you will get the modified year also..
regards
KK