How to identify a Raspberry Pi’s model number

I have several different little Raspberry Pi computers, and though there are subtle differences between them if you can’t remember what they are then you will be glad to know that you can easily check the model number from the comand line in the recent versions of the operating system.

echo $(cat /proc/device-tree/model | tr -d '\0')
Raspberry Pi 3 Model B Rev 1.2
$

See also how to get the operating system version.

References

This entry was posted in Raspbian and tagged . Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.