How do I list yesterday files in UNIX?

Bảo Vy

Member
How do I list yesterday files in UNIX?
Answer
You can use the find command to find all files that have been modified after a certain number of days. Note that to find files modified before 24 hours ago, you have to use -mtime +1 instead of -mtime -1 . This will find all files modified after a specific date.
 

Tìm kiếm

Back
Top