ChinaUnix.net
相关文章推荐:

mtime atime

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 阅读(1608) 回复(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)

首先,我们先来看一下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 的区别在于是...

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

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

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

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

by lyq01 - Shell - 2005-12-20 11:32:41 阅读(13240) 回复(19)
by welcome008 - HP-UX - 2004-03-03 11:46:42 阅读(1057) 回复(1)

好好学习,天天向上,昨天从mmmmn那里骗了"unix超级工具"一书,明白了一个多年不解的问题,现在分享给大家 当你同熟练的UNIX用户进行交谈时,你经常会听到他们傲慢地讲出术语“改变时间(change time)”和“修改时间(modification time)”。对于许多人(和许多字典而言),改变和修改是相同的。这里会有什么不同那? 改变和修改之间的区别在于是改某个组件的标签还是更改它的内容。如果有人说chmod a-w myfile,那么这是一个改变;如果...

by 南非蜘蛛 - Solaris - 2008-06-29 00:42:34 阅读(10530) 回复(18)

http://e-support.hp.com.cn/e-delivery/kdb/UserInterface/DisplayHotDoc.asp?full_docid=36118&ParentCategoryId=176&category_path=0%3A89%3A112%3A176 http://docs.hp.com/zh_cn/5187-2211/index.html http://docs.hp.com/ 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/7198/showart_129460.html

by shinelian - HP文档中心 - 2006-06-18 11:40:21 阅读(1287) 回复(0)

请问ls -l 的时间是什么时间,相当于atime,ctime,还是mtime??? 如果我想把目录下面的所有(ls -l)显示的时间距今超过90天的文件全部删除,find应该用哪个参数?

by wondershow - Shell - 2004-12-18 22:01:21 阅读(1653) 回复(2)

find /var/bak/mysql-bin* -mtime +7 找出7天前的文件,为什么同一天的另一个文件mysql-bin.000010找不出来呢?请高手指教。谢谢! [root@unix flie]# ll 总计 24450720 drwxr-xr-x 2 root root 4096 07-31 02:06 dump -rw-rw---- 1 mysql mysql 1073743023 07-17 22:03 mysql-bin.000001 -rw-rw---- 1 mysql mysql 1073742107 07-18 14:35 mysql-bin.000002 -rw-rw---- 1 mysql mysql 1073743065 07-19 06:42 mysql-bin....

by 丹龙oneonetwo - Shell - 2009-08-02 21:02:12 阅读(7394) 回复(14)

网上这样说: 加号(+)表示“在其后”,减号(-)表示“在其先”,没有加减号表示“准确时间” 我对'没有加减号表示“准确时间”'表示疑惑,准确时间精确到什么程度,查准确时间的文件有意义么?

by ILoveMK - Shell - 2009-07-02 12:49:34 阅读(1396) 回复(1)