getting memory details ubuntu code example
Example 1: how can I check the memory of computer in ubuntu
$ sudo apt-get update
$ sudo apt install htop
$ htop
Example 2: check details of installed memory in ubuntu
sudo lshw -short -C memory
$ sudo apt-get update
$ sudo apt install htop
$ htop
sudo lshw -short -C memory