stat – file inode number

Linux especially slackware has a very unique way to store file in the harddisk. Beside the name of the file, linux has a term called inode. This is some kind of number form of file indicated the location of in the hard drive.

We can delete the file according to its filename or its inode number.

Here is to find out

#stat filename


#ls -il filename

File: `inq_timeout’
Size: 2 Blocks: 8 IO Block: 4096 regular file
Device: 301h/769d Inode: 933088 Links: 1
Access: (0644/-rw-r–r–) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2009-11-06 07:23:43.000000000 +0700
Modify: 2009-09-10 12:52:56.000000000 +0700
Change: 2009-09-10 12:52:56.000000000 +0700

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.