简体   繁体   English

查看使用Linux命令修改文件的所有日期/时间

[英]View All Dates/Times a File has been Modified with Linux Command

Is there a linux command to view dates/times that a particular file has been modified? 是否有Linux命令查看特定文件已被修改的日期/时间? I can see the last modified time and date for the file, but I need to know all of the times/dates the file has been modified in the past few weeks. 我可以看到文件的最后修改时间和日期,但是我需要知道文件在过去几周中被修改过的所有时间/日期。 Thanks for any advice! 感谢您的任何建议!

It is not possible a posteriori . 后验不可能。 But see inotify(7) (eg using incron or writing your own monitor using it....) 但是请参阅inotify(7) (例如,使用incron或使用它编写自己的监视器...。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM