ram specs linux terminal code example Example 1: linux check ram frequency sudo lshw -short -C memory Example 2: check ram arch linux cat /proc/meminfo | grep Mem