On Thu, 13 Jan 2005 15:17:58 -0500, seth vidal <skvidal@xxxxxxxxxxxx> wrote: > On Thu, 2005-01-13 at 14:13 -0600, Rex Dieter wrote: > > daly@xxxxxxxxxxxxxxxxxxxxx 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. > > > > Parse /etc/redhat-release > > > > rpm -q fedora-release > > -sv cat /etc/fedora-release | cut -d ' ' -f4 > > > -- > fedora-devel-list mailing list > fedora-devel-list@xxxxxxxxxx > http://www.redhat.com/mailman/listinfo/fedora-devel-list > -- Nick Bargnesi http://www.den-4.com Den 4 Software pub 1024D/E8BD2FD0 2004-12-02 Nick Bargnesi <nbargnesi@xxxxxxxxx> Key fingerprint = 6F9D 9404 63CD 2B04 DE7A 0F9D A1ED C1B0 E8BD 2FD0 sub 2048g/56C5D45B 2004-12-02 dd if=/dev/zero of=/dev/hda