linux see ram mhz code example Example 1: linux check ram frequency sudo lshw -short -C memory Example 2: ubuntu ram type sudo dmidecode | grep -A 15 Memory