by slow_typist · 1y ago · 0 comments
$ stat / | grep "Birth" | sed 's/Birth: //g' | cut -b 2-11
2020-06-20
$ cat /etc/apt/sources.list.d/debian.sources
# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: unstable
Components: main non-free contrib
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
# Modernized from /etc/apt/sources.list
Types: deb
URIs: http://deb.debian.org/debian/
Suites: testing
Components: main non-free non-free-firmware contrib
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
You may also want `apt-listbugs` package to see the serious bugs before running upgrade. stat / | awk '/Birth:/ { print $2; }'
For the line containing the `Birth:` regex, print the second field (by default, fields are delimited by spaces). Other lines that don’t match the regex are ignored.