How to detect the installed video card in Unix?

lspci -k | grep -A 2 -i "VGA"

unix.stackexchange.com/a/25680

An output in Debian 9

02

An output in Ubuntu 18.04

01

An output in Ubuntu 18.04 after installing the Nvidia’s driver

05

See also: How to detect the installed video card in Windows?

Another way for Debian is to install and run the nvidia-detect tool:

03