Skip to content

Instantly share code, notes, and snippets.

@tomysmile
Created June 29, 2016 06:24
Show Gist options
  • Save tomysmile/21f97591180c57280b5872454cd8e924 to your computer and use it in GitHub Desktop.
Save tomysmile/21f97591180c57280b5872454cd8e924 to your computer and use it in GitHub Desktop.
Raspberry Pi get OS Version

Open Terminal and type:

cat /etc/os-release

This results in the following output on my Raspberry Pi 2...

PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment