$ sudo dmidecode -s system-product-name && sudo dmidecode -s system-version Dell System XPS L502X Not Specified $ lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA 00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller]) 01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0df5] (rev a1) (prog-if 00 [VGA controller])
$ sudo dmidecode -s system-product-name && sudo dmidecode -s system-version .+(\[\S+ \:\S+\] )/' | grep VGA
Dell System XPS L502X
Not Specified
$ lspci -vnnn | perl -lne 'print if /^\d+\:
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0df5] (rev a1) (prog-if 00 [VGA controller])