Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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




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!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: