It is easy to check hardware configuration on desktop version of Linux. There is software package for it. It is harder to do in terminal mode, such as Linux server. But there is a built in command: dmidecode. This command dumps DMI (Desktop Management Interface), which is also known as BIOS. You can find hardware configuration in the result file.

Here is the top of the dmidecode manual:

dmidecode command manual

Here is an example of using command to check computer’s memory with sudo dmidecode –type memory:

Memory Check with dimdecode