#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Location
    Florida
    Posts
    8
    Rep Power
    0

    Cool How do I check what version of Linux Red Hat I'm running?


  2. #2
  3. 11
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jul 2001
    Location
    Lynn, MA
    Posts
    4,635
    Rep Power
    82
    uname -a gives you quite a bit of information (read the man page) but you can't get it to tell you whether or not you're on Redhat 7.1,7.2,6.0 (or whatever) directly. You could print out the kernel version from uname, but this wouldn't be reliable if a user had upgraded the kernel.

    I don't know, maybe redhat built something to do this, but I don't know what it is.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Location
    Inside the GNU/Hurd kernel
    Posts
    492
    Rep Power
    12
    The only place where I have seen my Red Hat version is when I run the app up2date and when it displays the channels list.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2002
    Posts
    693
    Rep Power
    26
    cat /etc/redhat-release
  8. #5
  9. Introspective
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Nov 2001
    Location
    London, UK
    Posts
    3,317
    Rep Power
    110
    oooh kewl. I didn't know you could do that. I'm on a Slack box and I just did

    cat /etc/slackware-version

    and it happily returned 8.1

    ta!

    Christo
    This is me: http://chris.uk.com

IMN logo majestic logo threadwatch logo seochat tools logo