how to know memory of laptop ubuntu 18.04 code example Example: how can I check the memory of computer in ubuntu $ sudo apt-get update $ sudo apt install htop $ htop