On 9/20/2012 4:58 PM, Namhyung Kim wrote: > Ubuntu doesn't provide /etc/{system,redhat,os}-release but > /etc/lsb-release file. Since it's present on any LSB (Linux Standard > Base) compliant distributions, it'd better to try to read it. it's obsolete though everyone has moved (or is moving) to /etc/os-release, which is a freedesktop standard and has pretty decent semantics...