Find an inode of a file


May 5th, 2008

In computing, an inode is a data structure on a traditional Unix-style file system such as UFS. An inode stores basic information about a regular file, directory, or other file system object.

Now in linux you want to check the inode of a file, so the command to find inode of a file is:

root@server # ls -li test.php

426137 -rw-r–r– 1 root root 0 May 05 03:14 test.php

Here, 426137 is the inode of the file test.php

Isn’t it easy?

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.

Definition source: en.wikipedia.org/wiki/Inode


No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment