ChinaUnix.net
相关文章推荐:

ctime atime mtime

mtime ls -l 最近修改文件内容的时间 atime ls -lu 最近访问文件的时间 ctime ls -li 最近文件有所改变的状态 ,如文件修改,属性\属主 改变 ,节点 ,链接变化等 ,应该是不拘泥只是时间前后的改变 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/30312/showart_370160.html

by jsjzhang - Linux文档专区 - 2007-08-29 10:39:06 阅读(603) 回复(0)

相关讨论

所有文件都有3个时间信息,保存在文件系统中 atime (Access time) 是文件最后一此读的时间 或者执行文件的时间 mtime (Modified time) 是文件最后一次写的时间(是在写入文件时随文件内容的更改而更改的) ctime (Create time) 是i-node信息最后一次写的时间. 写入文件、更改所有者、权限或链接设置时随 Inode 的内容更改而更改的 你使用ext3文件系统的时候,如果在mount的时候使用了noatime参数那么就不会更新atime的信息 這三個 ti...

by ruiqingzheng - Linux文档专区 - 2006-01-12 21:33:05 阅读(875) 回复(0)

atime, mtime, ctime的区别\r\n \r\n \r\n \r\n atime: access time \r\n\r\n mtime: modify time (timestamp)\r\n\r\n ctime: change time \r\n\r\n \r\n\r\n mtimectime 的区别在于是更改文件内容,还是更改文件属性。前者是文件内容发生了变化,后者是文件的索引节点发生变化。\r\n\r\n 如,touch 文件abc.123,看atime, mtime, ctime\r\n\r\n #istat abc.123\r\n\r\nInode 1271 on device 10/4 File\r...

by ksea027 - AIX - 2008-11-24 08:44:25 阅读(3726) 回复(4)

As you know, Unix filesystems store a number of timestamps for each file. This means that you can use these timestamps to find out when any file or directory was last accessed (read from or written to), changed (file access permissions were changed) or modified (written to). File and directory timestamps in Unix Three times tracked for each file in Unix are these: access time - atime change ...

by sjhf - Linux文档专区 - 2009-03-23 11:21:50 阅读(630) 回复(0)

atime: access time \r\n\r\n mtime: modify time (timestamp)\r\n\r\n ctime: change time \r\n\r\n \r\n\r\n mtimectime 的区别在于是更改文件内容,还是更改文件属性。前者是文件内容发生了变化,后者是文件的索引节点发生变化。\r\n\r\n 如,touch 文件abc.123,看atime, mtime, ctime\r\n\r\n #istat abc.123\r\n\r\nInode 1271 on device 10/4 File\r\n\r\nProtection: rw-r--r--\r\n\r\nOwner: 0(roo...

by leisurecloud - AIX - 2006-03-25 20:17:42 阅读(3537) 回复(0)

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)

当你同熟练的UNIX用户进行交谈时,你经常会听到他们傲慢地讲出术语“改变时间(change time)”和“修改时间(modification time)”。对于许多人(和许多字典而言),改变和修改是相同的。这里会有什么不同那? 改变和修改之间的区别在于是改某个组件的标签还是更改它的内容。如果有人说chmod a-w myfile,那么这是一个改变;如果有人说echo foo >> myfile,那么 这是一个修改。改变是文件的索引节点发生了改变;修改是文本本身的内容...

by 罗克炬 - Linux文档专区 - 2009-07-08 19:15:41 阅读(558) 回复(0)

atime 访问时间(access time):访问时间是文件最后一次被读取的时间。因此阅读一个文件会更新它的访问时间,而它的改变时间并没有变化(有关文件状态的信息没有被改变),它的修改时间也同样没有变化(文件内容本身没有被改变); mtime 修改时间(modification time):文件内容最后被修改的时间。如 echo “Hello” >myfile ,则myfile的mtime被改变,同时ctimeatime也被改变; ctime 改变时间(change time):文件状态(status)最后...

by wdrain - Linux文档专区 - 2009-04-28 15:21:04 阅读(585) 回复(0)

当你同熟练的UNIX用户进行交谈时,你经常会听到他们傲慢地讲出术语“改变时间(change time)”和“修改时间(modification time)”。对于许多人(和许多字典而言),改变和修改是相同的。这里会有什么不同那? 改变和修改之间的区别在于是改某个组件的标签还是更改它的内容。如果有人说chmod a-w myfile,那么这是一个改变;如果有人说echo foo >> myfile,那么 这是一个修改。改变是文件的索引节点发生了改变;修改是文本本身...

by sjhf - Linux文档专区 - 2009-03-23 11:15:55 阅读(457) 回复(0)

Each file has three time stamps, which record the last time that certain operations were performed on the file: access (read the file's contents) change the status (modify the file or its attributes) modify (change the file's contents) 1。atime:最后一次读这个文件的时间,如使用more来读这个文件 2。ctime:最后一次修改该文件的时间,如使用chmod来修改这个文件的属性 3。mtime:最后一次修改该文件内容的...

by sosogh - Linux文档专区 - 2006-08-28 17:05:27 阅读(840) 回复(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?

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