how to check the ram details in linux code example Example: linux check ram frequency sudo lshw -short -C memory