/etc/redhat-release

inode0 inode0 at gmail.com
Mon Jun 28 17:33:27 UTC 2010


On Mon, Jun 28, 2010 at 11:54 AM, Broekman, Maarten
<Maarten.Broekman at fmr.com> wrote:
> Use lsb_release instead. It knows how to parse the contents of the
> redhat-release file into appropriate fields, saving you from having to
> do that yourself.

Although lots of people don't install that on servers given what it
pulls in. This is a pain point as I have scripts that often need
maintenance due to seemingly unnecessary changes between even point
releases.

John




More information about the redhat-list mailing list