在Linux中,文件没有“创建时间”这个说法。Linux中的文件的时间属性只有三个:atime(Access time)、mtime(Modified time)、ctime(Change time)。可以stat *查看这个目录所有文件的状态。

stat命令用于查看文件的属性:stat filename

[root@rusky SHARE]# stat LICENSE.txt
File: `LICENSE.txt'
Size: 19818 Blocks: 20 IO Block: 4096 regular file
Device: 14h/20d Inode: 2401 Links: 1
Access: (0777/-rwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2014-03-21 11:36:19.000000000 +0800
Modify: 2008-03-18 00:08:35.000000000 +0800
Change: 2008-03-18 00:08:35.000000000 +0800

相关文章:

  • 2022-12-23
  • 2022-01-10
  • 2022-01-04
  • 2021-10-13
  • 2021-05-24
  • 2021-08-12
  • 2021-04-09
  • 2021-06-10
猜你喜欢
  • 2021-11-02
  • 2021-10-31
  • 2021-05-18
  • 2022-01-09
  • 2021-08-03
  • 2021-11-16
相关资源
相似解决方案