To check the size of a folder (or it is called directory in Linux) in the Linux command line, the du command can be used .
Code:
du -sh MyFolder

Realtime example
Code:
[admin@devopsrun1 ~]$ du -sh test
768M    test