|
|
Count files in a directory - Linux
|
Views : 377
|
|
Tagged in : Linux
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
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 |
|
|
|