ITPub博客

首页 > IT职业 > IT生活 > 【转】find -atime -ctime -mtime区别

【转】find -atime -ctime -mtime区别

原创 IT生活 作者:msdnchina 时间:2011-11-30 16:53:04 0 删除 编辑
find -atime -ctime -mtime区别

find -atime -ctime -mtime区别




access time , atime在读取文件或执行文件时会修改
create time , ctime在文件写入,更改所有者,权限。链接时文件的ctime会随之改变
modified time ,mtime 在文件写入时会改变。

ls -lu 或者 ls -l --time=atime 显示文件的atime
ls -lc 或者 ls -l --time=ctime 显示文件的ctime
ls -l 显示文件的mtime[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/161195/viewspace-1056636/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 宝宝来到人间。
请登录后发表评论 登录
全部评论

注册时间:2008-07-30

  • 博文量
    498
  • 访问量
    1542038