how to find number of gb ram present in linux code example Example: how to get ram detail in linux sudo dmidecode --type 17