Have a Question?
Counting inodes per file, per directory
Occasionally, you may not be aware of the amount of free space on the server during server operation. How much and what kind of data the libraries store.
For example, if you are curious about the number of files and folders (inodes) recursively in each folder under the public_html folder, enter the following command:
find -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n
Depending on the number of folders or files, the run of the issued command will display the data in a shorter time, please be patient.