Count files in a directory - Linux Views : 377
Tagged in : Linux
0 0
Send mail
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


By Sanju, On - 2009-11-09



    Login to add Comments .