Last updated 8 months ago
Size of current directory can be seen by using du command.
du
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
/var
Source: