Return to Snippet

Revision: 5689
at March 27, 2008 04:55 by kyokutyo


Updated Code
ls -R | grep -c '.htm'

Revision: 5688
at March 27, 2008 04:52 by kyokutyo


Initial Code
ls -laR | grep -c '.htm'

Initial URL


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

Initial Title
count htm/html files in the directory (recursive)

Initial Tags
file

Initial Language
Bash