Useful commands for profiling your file systems

One of the problems that seems to plague nearly all file systems — Unix and others — is the continuous buildup of files.

One way that I have seen to help encourage the owners of all that data detritus to address the problem is to create a summary report or “profile” of a file collection that reports on such things as the number of files; the oldest, newest, and largest of those files; and a count of who owns those files. Here are a few of the Unix commands that I find easily provide some very useful statistics.