linux find ram type code example Example 1: ubuntu ram type sudo dmidecode | grep -A 15 Memory Example 2: check ram arch linux cat /proc/meminfo | grep Mem