Good Linux question — answering as the UphillTech team:
ls -l --block-size=M will give you a long format listing (needed to actually see the file size) and round file sizes up to the nearest MiB. If you want MB (106 bytes) rather than MiB (220 bytes) units, use --block-size=MB instead. If you don't want the M suffix attached to the file size, you can use something like --block-size=1M . Thanks Stéphane Chazelas for suggesting this. If you simply want file sizes in "reasonable" units, rather than specifically megabytes , then you can use -lh to get a long format listing and human readable file size presentation. This will use units of file size...
Full answer by user: https://unix.stackexchange.com/a/64150 (CC BY-SA 3.0).
Need Linux help for your business? UphillTech.