how to know the model of a laptop in linux code example Example: how to check laptop serial number in ubuntu sudo dmidecode -t system | grep Serial