文件的时间属性的概念

linux中文件的时间属性atime/mtime/ctime

上图第7-9是时间,默认是ctime(文件修改时间),有三种时间属性:

modify time        mtime       (文件内容被修改的时间)

change time        ctime       (文件属性被改变的时间)

access time         atime      (被访问的时间)

注意:以上的时间均为文件最近/最后一次的时间节点。

 

文件的时间属性的格式化

ls -l --time-style=long-iso

ls -l --time-style=full

linux中文件的时间属性atime/mtime/ctime

 

文件的时间属性的查看方式

通过stat命令可查看文件的所有属性,当然也包括(atime,mtime,ctime)

linux中文件的时间属性atime/mtime/ctime

 

文件的时间属性atime,mtime,ctime改变的方式

linux中文件的时间属性atime/mtime/ctime

linux中文件的时间属性atime/mtime/ctime

linux中文件的时间属性atime/mtime/ctime

补充:

linux中文件的时间属性atime/mtime/ctime

 

相关文章:

  • 2021-05-28
  • 2021-08-20
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-06-09
  • 2021-11-17
相关资源
相似解决方案