I have a Raspberry Pi that I didn't use regularly. I brushed off the dust and wanted to play around with the hardware again but I wasn't sure of the pin configuration. I then came across this handy utility that displays a summary of the Raspberry Pi hardware.
The pinout command gives this summary.
This is what the output looks like. From this you can see that the Raspberry Pi Model is 3B V1.2