count htm/html files in the directory (recursive)


/ Published in: Bash
Save to your folder(s)

count .htm or .html files in the directory.
use ls and grep command.


Copy this code and paste it in your HTML
  1. ls -R | grep -c '.htm'

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.