check ram in ubuntu code example
Example 1: ubuntu ram type
sudo dmidecode | grep -A 15 Memory
Example 2: how can I check the memory of computer in ubuntu
$ sudo apt-get update
$ sudo apt install htop
$ htop
sudo dmidecode | grep -A 15 Memory
$ sudo apt-get update
$ sudo apt install htop
$ htop