红联Linux门户
Linux帮助

一个很容易被忽略的命令stat

发布时间:2009-12-06 21:58:15来源:红联作者:ixdba
[root@web1 ~]# stat /
File: `/'
Size: 4096 Blocks: 16 IO Block: 4096 directory
Device: fd00h/64768d Inode: 2 Links: 28
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2009-12-06 04:02:01.000000000 +0800
Modify: 2009-10-19 16:37:08.000000000 +0800
Change: 2009-10-19 16:37:08.000000000 +0800
[root@web1 ~]# stat /root/install.log
File: `/root/install.log'
Size: 38941 Blocks: 88 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 22675458 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2009-11-02 13:22:59.000000000 +0800
Modify: 2009-04-27 19:02:36.000000000 +0800
Change: 2009-04-27 19:02:41.000000000 +0800
文章评论

共有 2 条评论

  1. leslieleo 于 2013-06-05 13:14:02发表:

    学习了

  2. puitr 于 2009-12-07 00:10:55发表:

    多谢指点哈