My Shell Script Usage Collection

By | December 8, 2017

sgadmin created the topic: My Shell Script Usage Collection
Count Total number of files in Directory and Subdirectory
> find . -type f | wc –l

Count Specific extention files in Directory and Subdirectory
> find . -type f -name \*.mnp |wc –l

Count only Directory
> find . -type d | wc –l

Leave a Reply