Skip to content

Get the Model and OS Version of your Raspberry Pi

<span>Photo by <a href="https://unsplash.com/@harrisonbroadbent?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Harrison Broadbent</a></span>
Photo by Harrison Broadbent

I like the Raspberry Pi.

I have a couple of the mini Computer Boards and I like to run them remotely.

While I try to name the machines appropriately and I have changed the default passwords.

I sometimes need to check which board is which and what OS its running on.

To find out the Model of your Raspberry Pi Hardware

cat /proc/device-tree/model

To find out the version of OS installed ( assuming its a version of Raspbian)

lsb_release -irdc

Posted in Troubleshooting