How do you find when was the file last modified in Unix?

How do you find when was the file last modified in Unix?
Answer
find . –
type f -mtime -90 finds files that were modified in the last 90 days (or in the future). find . -type f -mtime +90 finds files that were modified at least 91 days ago (at least in POSIX compliant find implementations).
 

Tìm kiếm

Back
Top