ubuntu ram type

Shell
sudo dmidecode | grep -A 15 Memorysudo lshw -short -C memory
Source

Also in Shell: