I have several RPi's on my network. How do I figure out what model any given RPi is?

  • After checking, I agree that this is a duplicate and that raspberrypi.stackexchange.com/questions/61699/… has better answers. Its only flaw is that the title is too restrictive and doesn't handle (e.g.) Pi Zero. I'll edit its title and delete this one. Commented Feb 27, 2019 at 12:03
  • When I tried to delete this post, I got ominous warnings from SO, especially since it's already gotten several upvotes. So I guess it stays for now. Commented Feb 27, 2019 at 12:08

1 Answer 1


From a shell window, type cat /proc/device-tree/model. For example:

$ cat /proc/device-tree/model
Raspberry Pi 3 Model B Rev 1.2

Not the answer you're looking for? Browse other questions tagged or ask your own question.