---

Count Number of Files in a Directory in Linux

Here are several ways to count the number of files in a directory in Linux command line.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis