码迷,mamicode.com
首页 > 系统相关 > 详细

linux中的三种时间

时间:2018-08-06 15:17:18      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:links   odi   mtime   linux   mod   gid   txt   nod   cti   

  • mtime 【修改时间】 文件/目录的修改时间
  • ctime  【属性修改时间】 文件目录的属性的修改时间
  • atime  【访问时间】文件/目录的访问时间

stat 123.txt

  File: `123.txt‘

  Size: 0         Blocks: 0          IO Block: 4096   regular empty file

Device: 803h/2051d   Inode: 2581        Links: 1

Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)

Access: 2017-08-12 00:08:41.928961423 +0800

Modify: 2017-08-12 00:08:41.928961423 +0800

Change: 2017-08-12 00:08:41.928961423 +0800

linux中的三种时间

标签:links   odi   mtime   linux   mod   gid   txt   nod   cti   

原文地址:https://www.cnblogs.com/zdqc/p/9430184.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!