TECHIES WORLD

For Techs.... Techniques.... Technologies....

CpanelLinux

How to find the number of folders in a drive

To find the total number of folders in a drive we can use the following command.

#find /mountpoint -type d | wc -l

Where we need to replace mountpoint with the required one.

Leave a Reply