Linux基础教程:Linux stat命令

河的第三条岸 2011-12-04

stat查看文件状态

[Oracle@RHEL5-4-11G dbs]$ stat initrhel54.ora

File: `initrhel54.ora'

Size: 150            Blocks: 8          IO Block: 4096  regular file

Device: 810h/2064d      Inode: 4540573    Links: 1

Access: (0644/-rw-r--r--)  Uid: (  500/  oracle)  Gid: (  500/    dba)

Access: 2011-07-14 11:53:47.000000000 +0800

Modify: 2011-07-13 13:25:01.000000000 +0800

Change: 2011-07-13 13:25:01.000000000 +0800

[oracle@RHEL5-4-11G dbs]$

FILE:文件名

SIZE:stat命令把文件的长度叫做大小

BLOCKS:该文件占用的文件系统空间块数

LINKS:链接数

ACCESS: atime

MODIFY: mtime

CHANGE: ctime

THE END

相关推荐