You may have an occasion that you want to know the number of files in a directory. There are a couple of simple ways to do this. The first way is to list the files with ls and count them with wc. No, wc doesn’t stand for the place you go to relieve yourself; in …
Continue reading Command Line Basics: Count Files