I can get the information about which os I am using by cat /etc/os-release. Which command should I use to get the release date of Raspbian OS, for example 2018-11-13. Thanks
Asked
Active
Viewed 2,218 times
6
S Andrew
- 490
- 1
- 6
- 20
4 Answers
7
Try
cat /boot/issue.txt
instead. This is specific to official Raspbian image files downloaded from raspberrypi.org
flakeshake
- 6,244
- 1
- 16
- 35
5
All RPF Raspbian images are generated using pi-gen which adds the file /etc/rpi-issue with some information (when generated, type of image, etc).
Example:
pi@raspi3b:~/dev/tensor$ cat /etc/rpi-issue
Raspberry Pi reference 2018-04-18
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, d6c238c1b2b1b070a574d3e25048ca442e3e221f, stage5
NB: the date is the date the image is generated, not necessarily the date mentioned as the release date on the RPF website
Dirk
- 3,749
- 3
- 19
- 27
4
The Answers above are both correct, but the Original Release date is not particularly meaningful; my fully updated Raspbian shows Raspberry Pi reference 2017-08-16
https://raspberrypi.stackexchange.com/a/85016/8697 shows how to list current state of the Pi.
Milliways
- 62,573
- 32
- 113
- 225
1
Use uname -a and vcgencmd version to get your kernel version and bootcode build dates.
Dougie
- 5,381
- 11
- 22
- 30