あるディレクトリ以下のファイル数を数えるコマンドメモ。
PHPファイルの数を出力
find /home/hoge/public_html/ -name '*.php' | wc -l
HTMLファイルの数を出力
find /home/hoge/public_html/ -name '*.html' | wc -l
PHPファイルの数を出力
find /home/hoge/public_html/ -name '*.php' | wc -l
HTMLファイルの数を出力
find /home/hoge/public_html/ -name '*.html' | wc -l