Raspberry pi versions
Board Versions 
https://www.raspberrypi-spy.co.uk/2012/09/checking-your-raspberry-pi-board-version/
cat /proc/cpuinfo

OS Version
cat /etc/os-release