Tuesday, September 13, 2016

How to count number of Files and Folders inside a given Directory

root@ashok:/opt # tree -iLf 1 puppetlabs/
puppetlabs
puppetlabs/bin
puppetlabs/facter
puppetlabs/file.txt
puppetlabs/mcollective
puppetlabs/puppet

4 directories, 1 file

root@ashok:/opt #

2 comments:

  1. thank you very much for your tutorial.these are very helpfull for students and profeassionals.one of the recommanded blog.such a wonderful content

    Linux Admin Online Training

    ReplyDelete