How to display available RAM in MB in Linux

Here is simple one -line command line that you can use to display the available RAM in MB on your Linux system.

root@localhost# cat /proc/meminfo | awk 'match($1,"MemTotal") ==1 {print $2/1024}'

The output will be now showing the available RAM  in MB.