Depending on when you need the information, lsb_release is nice.

lsb_release -a
LSB Version:    
:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch
Distributor ID: Fedora
Description:    Fedora release 10 (Cambridge)
Release:        10
Codename:       Cambridge



2009/3/23 Andy Kannberg <[email protected]>:
> Uname does not give the version. It does give a kernelversion (uname -i)
> though. But that's not what I am looking for.
>
>
> 2009/3/23 Joshua Daniel Franklin <[email protected]>
>>
>> > Andy Kannberg wrote:
>> >> I would like to determine the RedHat version during a kickstart in a
>> >> pre-script.
>>
>> uname?
>>
>> _______________________________________________
>> rhelv5-list mailing list
>> [email protected]
>> https://www.redhat.com/mailman/listinfo/rhelv5-list
>
>
> _______________________________________________
> rhelv5-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv5-list
>
>

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to