GNU/Linux
From PCGamingWiki, the wiki about fixing PC games
Terminal commands
$ lshw
lists hardware.
$ lspci
lists all PCI devices.
$ lsusb
lists all USB devices.
To create a text document of the Terminal output, append > filename.txt to the command.
$ lshw > lshw.txt
To have the text document on the desktop:
$ lshw > ~/Desktop/lshw.txt