1

Let us imagine that you are in a room with a black box; you turn the box on and find that you are met with a helpful terminal.

Is there a command that could allow one to decipher that in that black box is a raspberry pi?

1 Answers1

0

sudo lshw will list all hardware available on that system and thus at least allow an educated guess as to whether the box contains a Raspberry Pi.

Anyway, if the system in that box is running Ubuntu, it won't be a Raspberry Pi, since Ubuntu does not support its CPU.

drc
  • 2,880
  • The latest Raspberry Pi model 2 does in fact support a version of Ubuntu. It is not distributed by Canonical and appears to be a repackaged OS. More information here. – Jos Apr 16 '15 at 16:04
  • On my Raspbian system, there is no lshw command. Nor is there a lsb_release. So this will not be a conclusive procedure. – Jos Nov 22 '15 at 17:30