how to check memory moduledetails linux code example Example: ubuntu ram type sudo dmidecode | grep -A 15 Memory