On Tue, 2006-08-01 at 18:11 +0100, Graham Cossey wrote:
On 7/28/06, Sean Bruno <sean.bruno(a)dsl-only.net> wrote:
> On Fri, 2006-07-28 at 09:07 -0700, bruce wrote:
> > hi...
> >
> > uname -s gives a great deal of information about the kernel...
> >
> > how can i tell which version of FC i have on a box??
> >
> >
> rpm -q fedora-release
>
Just what I was looking for, however what format is the result?
fedora-release-2-4
Is that FC2 or FC4? I'm assuming FC2.
Sorry, but it's been so long since I touched this.
The official way to find it is to "cat /etc/redhat-release". On Fedora
machines, /etc/redhat-release is a symlink to /etc/fedora-release.
Alternately, you can "cat /etc/issue".
I wouldn't bother with looking at the RPM version number.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens(a)vitalstream.com -
- VitalStream, Inc.
http://www.vitalstream.com -
- -
- Dyslexics of the world: UNTIE! -
----------------------------------------------------------------------