|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I need to be able to view a file date and year of when it was last modified. How do can i do that?
![]() |
|
#2
|
|||
|
|||
|
ls -l <filename>
There is system auditing but I've never used it...don't know what's all involved. Might be a worth looking into |
|
#3
|
|||
|
|||
|
From a 'purist' point of view - if all you want is last modified date/time then:
Code:
ls -log filename is more efficient (especially is filename contains any wildcards). Be aware, on the more practical side that if the file has been modified in past 12 months you will get day and hour/min of change (i.e., no year), if it was last modified before that you will get year month and day (in the same number of fields). |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > File date |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|