Categories
How to's

How to Find Inode Count in your system.

Each File and directory on you hardisk counts 1 inode. Now if you are using a webhost if you need to find no of files occupying you hosting account here is the code. This works only if you have shell access.

find . -printf “%i\n” | sort -u | wc -l

you can also use the following instead of above

find * -print | wc -l