how to check amount of ram on ubuntu code example Example: how can I check the memory of computer in ubuntu $ sudo apt-get update $ sudo apt install htop $ htop