To check file or folder size in Fedora/ RedHat/ CentOS, use the following command:

du -sh <foldername>

Example: