atime: access time mtime: modify time (timestamp) ctime: change time mtime 和ctime 的区别在于是更改文件内容,还是更改文件属性。前者是文件内容发生了变化,后者是文件的索引节点发生变化。 如,touch 文件abc.123,看atime, mtime, ctime #istat abc.123 Inode 1271 on device 10/4 File Protection: rw-r--r-- Owner: 0(root) Group: 0(system) Link count: 1 Length...
by slightsnow - AIX文档中心 - 2006-01-02 16:58:49 阅读(1607) 回复(0)
I just want to konw how we can find out the atime,ctime.mtime attributes of a file,are there any commands? for example we can use this attribute in find,but how can we find out the detail informination of atime,ctime,mtime attributes of a file or a directory?
首先,我们先来看一下ctime ,atime , mtime之间的关系和区别: atime: access time mtime: modify time (timestamp) ctime: change time 文件的 Access time,atime 是在读取文件或者执行文件时更改的。 文件的 Modified time,mtime 是在写入文件时随文件内容的更改而更改的。 文件的 Create time,ctime 是在写入文件、更改所有者、权限或链接设置时随 Inode 的内容更改而更改的。 mtime 和ctime 的区别在于是...
find / -mtime -1 #查找在系统中最后24小时里修改过的文件 -ctime n 查找系统中最后n*24小时被改变状态的文件 什么是“状态改变”什么是“修改” 新建的文件算什么?修改文件算什么? 哦晕了!
请问 -ctime 和 -mtime 有什么关系 ? 如果父目录的 ctime 改变, 那它下面的文件的 ctime 就会自动都改了吗 ? -ctime 和 -mtime ,-atime 这些信息是存在哪儿呢 ? 多谢!
find参数mtime与ctime划分每天的时间界限是几点? 我每次用mtime或ctime来find一些文件时, 总是发现在临界的那天, 中午12点前的文件,可以被find, 中午12点后的文件,就无法find出来 是不是mtime与ctime将一天的区别定在中午12点啊? 也就是我要查10月5日的所有文件,结果10月5日的文件12点之前产生的文件都能找到,而12点之后的却没有办法找到
find的参数mtime与ctime之间的区别是什么? 为什么有的时候,某些文件可以用mtime查找到,但ctime却找不到 而有的时候,有些文件用ctime可以找到,却用mtime找不到 请问他们之间的区别是什么?