[Linux] Command to Check Number of Files Under Specified Directory

Tadashi Shigeoka ·  Wed, June 27, 2012

In Linux, I researched a command to check the number of files under a specified directory, so here’s a memo.

find /home/www/ -type f | wc -l

Reference Information

MOVION.net » 指定ディレクトリ以下のファイル数を調べる[Linux][find]

That’s all from the Gemba.