Raspbian-Version ermitteln

Um zu überprüfen, welche Raspbian-Version auf dem Raspberry Pi installiert ist, wird der Befehl cat /etc/os-release benutzt.

cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
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"
NAME="LibreELEC"
VERSION="8.0.2"
ID="libreelec"
VERSION_ID="8.0"
PRETTY_NAME="LibreELEC (official) - Version: 8.0.2"
HOME_URL="https://libreelec.tv"
BUG_REPORT_URL="https://github.com/LibreELEC/LibreELEC.tv"
BUILD_ID="a31c4e5b1184c2145d379b184df9b46ca3c6344"
OPENELEC_ARCH="RPi2.arm"
LIBREELEC_ARCH="RPi2.arm"
LIBREELEC_BUILD="official"