advanced code snippet search
kyokutyo on 03/27/08
file count grep ls
03/27/08 04:55am03/27/08 04:52am
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'
Report this snippet
You need to login to post a comment.