Hello to all!
I'm really new of this, i don't know unix so i have to ask a stupid question for you but important for me.
I need to know how many files .html there are on a unix server on a specified folder (and of course on their subfolders).
The same command in DOS is dir *.html /s.
Can you help me?
Thanks,
Giuseppe
"cd" to the "folder" (directory) in which the
files are located.
do...
ls -l *.html | wc -l
...this will return the count of the number of .html files
in the current directory
really thanks!
But tell me one more things, it's possible to have also a number of all html files contained in all the subfolders?
Thanks
Giuseppe
A quick way to just get a count would be...
cd to the top level directory...
do...
ls -lR | grep .html | wc -l
i will try it monday, but REALLY REALLY THANKS for all!!!!!!!

It works great!!
Really thanks!!