Find the answer to your Linux question:
Results 1 to 5 of 5
Hi all, I haven't worked much on Linux. Can anyone tell me as to how can I find out which RHEL is installed on a machine i.e . RHEL4 , ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    18

    RHEL version


    Hi all,

    I haven't worked much on Linux. Can anyone tell me as to how can I find out which RHEL is installed on a machine i.e . RHEL4 , RHEL 5......etc.

    I tried out the command ------
    uname -a
    but it doesn't give any such information

    Thanks in advance

  2. #2
    Just Joined!
    Join Date
    Feb 2007
    Posts
    5
    Hiya,

    I'm no expert either but if you do uname -r that will tell you your kernel (mine is 2.6.9-22.ELsmp which is actually RedHat EL4, but if you Google your kernel version you should find what you need.

    iorek

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    18
    I have already tried out this command:
    uname -r
    and the kernel release is 2.6.9-5.EL. But how do I find out from this whether it is RHEL4 (as u have mentioned) or some other version.

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Do,
    Code:
    #cat /etc/redhat-release

  5. #5
    Just Joined!
    Join Date
    Jan 2007
    Posts
    18
    Thanks a lot for the solution. Now I know the RHEL release .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •