EnderUNIX Team.


EnderUNIX tips

Mail to My Friend , Home Page

[ Console ]

"Stat for the inode" - Ülkü SAYILAN - (2004-08-23 11:48:44)   [5103]

The stat command is available on newer flavors of Unix and linux to provide inode information about a file.

% stat /etc/hosts

File: "/etc/hosts"
Size: 1348 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Device: 3,2 Inode: 294992 Links: 1
Access: Tue Aug 21 15:06:19 2001(00000.00:00:00)
Modify: Wed Aug 30 09:19:35 2000(00356.05:46:44)
Change: Wed Aug 30 09:19:35 2000(00356.05:46:44)

It also provides other useful information about files.

Mail to My Friend , Home Page