Linux命令-stat

显示文件或目录的详细信息,例如:

[root@localhost bin]# stat redis-cli
File: ‘redis-cli’
Size: 2617264 Blocks: 5112 IO Block: 4096 regular file
Device: 811h/2065d Inode: 267451 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2019-09-17 19:06:23.033557228 +0800
Modify: 2018-10-12 11:24:23.185810367 +0800
Change: 2019-01-16 09:47:44.168431598 +0800
Birth: -