How to Find a Raspberry Pi Model Number from the Command Line

Once you’re logged in to your Raspberry, issue the command:

cat /proc/device-tree/model

The OS will respond with a human-readable result:

Raspberry Pi 2 Model B Rev 1.1

Leave a Reply

Your email address will not be published.

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