Steve Holdoway wrote:
On Thu, 13 Mar 2008 15:54:31 +1300 (NZDT)
Nick Rout <[EMAIL PROTECTED]> wrote:

Also on this topic, most distros have a file with the term "release" or
"version" under /etc/ , eg:

/etc/gentoo-release
/etc/KnoppMyth-version

Also under debian/*buntu, take a look at /etc/apt/sources.list, the
version name (edgy, gutsy, lenny etc) will appear in the deb lines.

Unfortunately, as Ubuntu is a debian release, the info in the /etc/debian_version file relates to that, rather than Ubuntu itself.
As an aside, Fedora, RHEL, CentOS all use /etc/redhat-release. Nice and 
confusing use of _ and - there just to confuse you...

Steve
unfortunately no such file seem to exist on kubuntu:

[EMAIL PROTECTED]:/etc$ ls | grep release
lsb-release
[EMAIL PROTECTED]:/etc$ ls | grep version
debian_version
[EMAIL PROTECTED]:/etc$ cat ./debian_version
lenny/sid

Roger

Reply via email to