Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

My Shell Script Usage Collection

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

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x