logoalt Hacker News

throwaway173738yesterday at 1:38 PM1 replyview on HN

Try cat /etc/os-release. The codenames are probably there. I know they are for Debian.


Replies

ramses0yesterday at 2:35 PM

Thank you! I was just about to kvetch about how difficult it was to map (eg) "Trixie" == "13" because /etc/debian_version didn't have it... I always ended up having to search the internet for it which seemed especially dumb for Debian!