how to see pc specs from terminal in linux code example
Example 1: linux command to show memory hardware
# List RAM Memory Information
lshw -short -C memory
Example 2: linux command to show memory hardware
# display information about the processor/cpu
$ sudo dmidecode -t processor
# memory/ram information
$ sudo dmidecode -t memory
# bios details
$ sudo dmidecode -t bios