Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Determine RH Version From Command Line
Results 1 to 5 of 5

Thread: Determine RH Version From Command Line

  1. #1
    Junior Member
    Join Date
    Jun 2001
    Location
    Melbourne, Australia
    Posts
    94

    Determine RH Version From Command Line

    Can anyone point me to a command that gives the version of Red Hat, from the command prompt? I have easy ssh access to quite a few RH machines at my new job, but some are in different states, so a bit of a problem walking up to the console.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  2. #2
    Member
    Join Date
    Jan 2007
    Location
    Adelaide, Australia
    Posts
    112
    uname -a will give you all the details, eg
    Code:
    mechdave@localhost$] uname -a
    Linux localhost.localdomain 2.6.19-1.2911.fc6 #1 SMP Sat Feb 10 15:03:33 EST 2007 i686 i686 i386 GNU/Linux

  3. #3
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Posts
    882
    Use the "cat" command to look inside either one of these files.

    Code:
    [root@bigboy ~]# cat /etc/redhat-release 
    Fedora Core release 5 (Bordeaux)
    [root@bigboy ~]# cat /etc/fedora-release 
    Fedora Core release 5 (Bordeaux)
    [root@bigboy ~]#

    My sites:
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    -
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  4. #4
    Junior Member
    Join Date
    Jun 2001
    Location
    Melbourne, Australia
    Posts
    94
    Champion! Thanks to both of you.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  5. #5

    version of RHEL

    You can also see through cat /etc/issue, or just go to the terminal window (ctrl-alt-F1) and there you can see the version above the login option.

Similar Threads

  1. command line help
    By jan1024188 in forum Windows - General Topics
    Replies: 1
    Last Post: 01-10-2007, 09:48 AM
  2. determine the version of Windows Media Player
    By regix in forum Windows - General Topics
    Replies: 1
    Last Post: 01-04-2005, 12:09 AM
  3. Do I need a command line?
    By Kauno-Uolevi in forum Linux - General Topics
    Replies: 18
    Last Post: 08-17-2003, 03:47 PM
  4. Games and Command Line Help PLease
    By AtomiC in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 08-15-2002, 03:35 AM
  5. Using ftp from the command line.
    By chadm1967 in forum Linux - General Topics
    Replies: 5
    Last Post: 11-21-2001, 11:00 AM

Bookmarks

Posting Permissions

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