Space taken by a directory in Linux OS/Unix

Author:
Get the space taken by directory for Linux OS/Unix
The following command can be used to get the space taken by
directory
du -sh <path of the directory>
[gaurav@home]$ du -sh /var/www/
1.5G    /var/www/

Leave a Reply

Your email address will not be published.