FC1 vs FC2 vs FC3

Casper Pedersen cpedersen at c-note.dk
Thu Jan 13 20:15:23 UTC 2005


daly at rio.sci.ccny.cuny.edu wrote:

>Is there a reliable way to know what version of Fedora Core is running? 
>I need to write a shell script to distinguish the cases. 
>uname does not seem to provide this information in a form I can use.
>
>Tim
>
>  
>
cat /etc/redhat-release
Fedora Core release 3 (Heidelberg)

or

rpm -qf /etc/redhat-release
fedora-release-3-8


Regards/Casper

-- 
GPG Public key is available from: http://www.keyserver.net/
Fingerprint = 56ED 74A4 7B00 20E2 B493 0C1A 6B4E BF8F A086 FE57

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20050113/8d78d1c4/attachment.sig>


More information about the fedora-devel-list mailing list