ChinaUnix.net
相关文章推荐:

mtime ctime

atime: access time mtime: modify time (timestamp) ctime: change time mtimectime 的区别在于是更改文件内容,还是更改文件属性。前者是文件内容发生了变化,后者是文件的索引节点发生变化。 如,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)

相关讨论

BAIDU了一下,说mtime是里面被修改的时间,而ctime是NODE的时间 没有搞明白

by peerper - Shell - 2008-11-25 09:37:06 阅读(2471) 回复(11)

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?

by samshi - Solaris - 2005-08-31 22:02:04 阅读(1447) 回复(0)

首先,我们先来看一下ctime ,atime , mtime之间的关系和区别: atime: access time mtime: modify time (timestamp) ctime: change time 文件的 Access time,atime 是在读取文件或者执行文件时更改的。 文件的 Modified time,mtime 是在写入文件时随文件内容的更改而更改的。 文件的 Create time,ctime 是在写入文件、更改所有者、权限或链接设置时随 Inode 的内容更改而更改的。 mtimectime 的区别在于是...

by 风之幻想 - Solaris - 2008-11-13 17:21:01 阅读(3827) 回复(4)

如题,给定一个文件,怎么用命令实现查看他的相关时间?

by xyz_hh - Shell - 2007-03-21 17:57:32 阅读(2802) 回复(1)

find / -mtime -1 #查找在系统中最后24小时里修改过的文件 -ctime n 查找系统中最后n*24小时被改变状态的文件 什么是“状态改变”什么是“修改” 新建的文件算什么?修改文件算什么? 哦晕了!

by moonight - Shell - 2004-10-15 20:00:59 阅读(7477) 回复(13)
by linetsam88 - Solaris - 2004-05-12 09:55:30 阅读(1300) 回复(4)

请问 -ctime 和 -mtime 有什么关系 ? 如果父目录的 ctime 改变, 那它下面的文件的 ctime 就会自动都改了吗 ? -ctime 和 -mtime ,-atime 这些信息是存在哪儿呢 ? 多谢!

by lyq01 - Shell - 2005-12-20 11:32:41 阅读(13234) 回复(19)

find参数mtimectime划分每天的时间界限是几点? 我每次用mtimectime来find一些文件时, 总是发现在临界的那天, 中午12点前的文件,可以被find, 中午12点后的文件,就无法find出来 是不是mtimectime将一天的区别定在中午12点啊? 也就是我要查10月5日的所有文件,结果10月5日的文件12点之前产生的文件都能找到,而12点之后的却没有办法找到

by 野鸭子 - Solaris - 2008-09-16 17:01:37 阅读(2621) 回复(3)

find的参数mtimectime之间的区别是什么? 为什么有的时候,某些文件可以用mtime查找到,但ctime却找不到 而有的时候,有些文件用ctime可以找到,却用mtime找不到 请问他们之间的区别是什么?

by 野鸭子 - Solaris - 2005-10-13 10:15:51 阅读(950) 回复(1)
by welcome008 - HP-UX - 2004-03-03 11:46:42 阅读(1057) 回复(1)