[PLUG] Checking Linux Flavor
David Pool
dpool at hevanet.com
Mon Jul 11 23:12:12 UTC 2005
On Mon, 2005-07-11 at 15:47 -0700, Steve D... wrote:
> On 7/11/05, Terry Griffin <griffint at pobox.com> wrote:
> > If the distro is LSB compatible *and* if the LSB utilities are installed
> > you can do this:
> >
> > lsb_release -d
>
> YMMV... It seems a bit suspect on an older SuSE box.
>
> user at host:~/> cat /etc/SuSE-release
> SuSE SLES-8 (i386)
> VERSION = 8.1
> user at host:~/> lsb_release -d
> Description: UnitedLinux 1.0 (i586)
>
> It doesn't work at all on a standard FC2 box. I don't have an FC3
> box handy.
Works on FC3:
lsb_release -d
Description: Fedora Core release 3 (Heidelberg)
Nice to see FC become more compliant :-)
d
More information about the PLUG
mailing list