Count files in a directory
by Sanju[ Edit ] 2009-11-09 16:07:36
Count files in a directory
The command wc is used for word count..
To know how many files with extension img are in the current directory:
ls *.img | wc
To know more about wc type the following command in terminal
man wc