/ Published in: Bash
count .htm or .html files in the directory. use ls and grep command.
Expand |
Embed | Plain Text
ls -R | grep -c '.htm'
You need to login to post a comment.
kyokutyo on 03/27/08
1 person have marked this snippet as a favorite
count .htm or .html files in the directory. use ls and grep command.
ls -R | grep -c '.htm'
You need to login to post a comment.