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 […]