File sizes on linux

See files sizes easily in megabyte or gigabyte values.

Just use ls for that.

To see them in megabytes use this.

ls -l --b=M

To see them in gigabytes use this.

ls -l --b=G