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