Use the stat file
I can check the file's recent modify time, and create time.
[root@controller network-scripts]# stat ifcfg-enp2s0f0
文件:"ifcfg-enp2s0f0"
大小:444 块:8 IO 块:4096 普通文件
device:fd00h/64768d Inode:1708165 硬链接:1
limit:(0644/-rw-r--r--) Uid:( 0/ root) Gid:( 0/ root)
recent access:2017-10-08 19:51:13.715800341 +0800
最近更改:2017-08-31 14:57:14.703346036 +0800
recent change:2017-08-31 14:57:14.745346036 +0800
创建时间:-
Whether there is a method to list all the time that changed the file?