Get Hardware server model info in linux terminal

dmidecode | grep -A3 ‘^System Information’