Skip to content

Instantly share code, notes, and snippets.

@msuksong
Created August 18, 2021 06:08
Show Gist options
  • Select an option

  • Save msuksong/ba5abe0f98ffdaa32545416ac2b692c2 to your computer and use it in GitHub Desktop.

Select an option

Save msuksong/ba5abe0f98ffdaa32545416ac2b692c2 to your computer and use it in GitHub Desktop.
Find Raspberry PI model from CLI
#!/bin/sh
cat /sys/firmware/devicetree/base/model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment