"Lately, we've been focusing a lot on Perl 'one liners,' from
mass file time syncing to name and IP resolution and I thought it
was only fair that we should write a post about a shell 'one liner'
for once. After all, most standard Unix and Linux shells are
perfect for that purpose :)
"Here's a very quick way to take an inventory of all the
different file types (including directories, sockets, named pipes,
etc) that exist in a given directory tree and provide a tally of
each file type..."