How to detect the installed video card in Unix?

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