ls file size linux code example
Example 1: list file size as mb
ls -l --block-size=M
Example 2: linux ram size
$ cat /proc/meminfo
Example 3: show directory size linux
du -sh /home/george
2.1G /home/george
ls -l --block-size=M
$ cat /proc/meminfo
du -sh /home/george
2.1G /home/george