Linux Ubuntu查看文件修改时间

 使用stat命令

$ stat test1.py
  File: 'test1.py'
  Size: 40295           Blocks: 80         IO Block: 4096   regular file
Device: 820h/2080d      Inode: 4390950     Links: 1
Access: (0777/-rwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2020-04-08 11:33:23.178441529 +0800
Modify: 2020-04-08 11:15:38.794452841 +0800
Change: 2020-04-08 11:15:38.794452841 +0800
发布了202 篇原创文章 · 获赞 80 · 访问量 30万+

猜你喜欢

转载自blog.csdn.net/qxqxqzzz/article/details/105387712