cat /sys/firmware/devicetree/base/model
Ou bien en consultant le journal système :
journalctl --boot 0 | grep -i "machine model"
===== Références =====
* [[https://ozzmaker.com/check-raspberry-software-hardware-version-command-line/| Comment vérifier la version matérielle du Raspberry depuis la ligne de commande (ozzmaker.com) (en)]]