Show Size of Current Directory

Size of current directory can be seen by using du command.

Usage

To see size of current directory -

$ du -sh

To see size of a different directory -

$ du -sh /var

/var is the path to the directory you want to see the size of

Source: Linuxize

Last updated