FAQ
Andy Dougherty [doughera@lafayette.edu] quoth:
*>I'm currently trying to patch Configure to tell you the Linux
*>distribution (RedHat, SuSE, Debian, others as folks supply the
*>information), and I'm unsure of how to best parse RedHat's
*>/etc/redhat-release file. I have the following 1 example:
*>
*> Red Hat Linux release 6.1 (Cartman)

Thou art most brave :)

[root@tpair /root]# cat /etc/redhat-release
release 5.1 (Manhattan)

you could test for the 'redhat-release' file to note it as 'RedHat Linux'
and use the release number contained therein.

e.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 14 | next ›
Discussion Overview
groupperl5-porters @
categoriesperl
postedOct 26, '99 at 6:54p
activeOct 27, '99 at 5:37p
posts14
users12
websiteperl.org

People

Translate

site design / logo © 2021 Grokbase