Size of a Directory

The du command displays the amount of file space used by the specified files or directories. If the specified path is a directory, du summarizes disk usage of each subdirectory in that directory. If no path is specified, du reports the disk usage of the current working directory .

sudo du -sh /var

Leave a Reply

Your email address will not be published. Required fields are marked *