Space taken by a directory in Linux OS/Unix October 26, 2009 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/ Categories: Aaj Ka Tip, articles/tutorials Tags: Space taken by a directory in Linux OS/Unix