see filesize of file centos code example
Example 1: list file size as mb
ls -l --block-size=M
Example 2: linux command for file size
#Get file size of each folder
du -bsh *
ls -l --block-size=M
#Get file size of each folder
du -bsh *