linux stat command displays the file and the file system state (view file properties) to view the file inode

 

stat status of files and file systems (see file attributes) See details inode file

[root@MongoDB ~]# stat /etc/hosts
  File: ‘/etc/hosts’
  Size: 158           Blocks: 8          IO Block: 4096   regular file
Device: fd00h/64768d    Inode: 4194398     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2019-05-20 06:39:43.553001712 +0800
Modify: 2013-06-07 22:31:32.000000000 +0800
Change: 2019-03-27 08:25:37.393001285 +0800
 Birth: -

 

Guess you like

Origin www.cnblogs.com/mingerlcm/p/10891664.html