Linux Ubuntu

File Count

Recently I was looking for a way of counting files in a directory:

ls -la | wc -l returns a file count and that is how we discovered there were 379k log files in the home directory today (for one of our systems)!

No webmentions yet, be the first and tweet about this article