12-20-2007
you can get the full version from /etc/issue. I don't know of any more direct way of getting the RedHat version. Most system methods will give you the kernel version.
You have to remember that RedHat is just the distribution. All the system stuff is related to the kernel and the architecture. System calls will be designed with this in mind.
You can also supposedly get the info from /proc/version, but I've never seen that match the actual distro version number, so that might be a red herring.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Guys
How do i know the version of linux (Redhat) on one of our systems..Thanks in advance..The uname -r gives 2.4.18-0.13..Is it the kernel version (3 Replies)
Discussion started by: sssow
3 Replies
2. Linux
I just purchased a Linksys WPC11 Version 4 wireless PCMCIA card, and am looking for the device driver for it.
Apparently, as opposed to Version 1-4, it uses a RealTek 8180 chipset. However, the kernel module which Linksys released does not work on any other distribution EXCEPT for Redhat Linux.... (0 Replies)
Discussion started by: Farhan
0 Replies
3. Linux Benchmarks
==============================================================
BYTE UNIX Benchmarks (Version 3.11)
System -- Linux linux.hhc.ac.uk 2.6.9-11.ELsmp #1 SMP Fri May 20 18:26:27 EDT 2005 i686 i686 i386 GNU/Linux
Start Benchmark Run: Wed Jul 6 15:06:07 BST 2005
1 interactive users.... (2 Replies)
Discussion started by: Garp
2 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I need to know RedHat linux version installed on a different servers.
I know uname -a or /proc/version
Is any other command to know the Linux version????
When we telnet to any of the Linux server, the version shows very clearly like
Red Hat Enterprise Linux ES release 3 (Taroon... (1 Reply)
Discussion started by: bache_gowda
1 Replies
5. Red Hat
how to find out the Red hat version using uname -a command. (7 Replies)
Discussion started by: sudhiroracle
7 Replies
6. Red Hat
Hi,
I would like to know if should i patch my system and sshd based on the version that i have here below:
cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
------------
uname -a: redhat kernel version and type (64-bit or not)
Linux server2 2.6.9-55.ELsmp... (2 Replies)
Discussion started by: lamoul
2 Replies
7. Red Hat
hi ,
Can anybody please let me know the difference in the version of RedHat linux 5.2 and 9.0.
Will there be any difference if i execute the script in RedHat linux 9.0 insead of RedHat linux 5.2?
Thanks in Advance. (7 Replies)
Discussion started by: flamingo_l
7 Replies
8. UNIX for Dummies Questions & Answers
Hi How would i get xconsole of redhat5 linux machine.
Following is the distribution detail.
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.5... (1 Reply)
Discussion started by: pinga123
1 Replies
9. Red Hat
Dear Guru,
Last time when I install ORACLE RAC with ASM, I have use udev to mapping the raw device. Someone told me that "devlable" is good tool to achieve that. But I can find the rpm package for Linux 5.5.
Look devlable only for x86 system? Am I right?
What is the different between: udev... (0 Replies)
Discussion started by: devyfong
0 Replies
10. Red Hat
Hi
In opensuse we have this nice version control variable I use much when designing rpm spec files:
rpm --showrc | grep suse_version
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1700
-14: suse_version 1140But I do not find anything close to this in rhel/centos
The only way... (0 Replies)
Discussion started by: mortenb
0 Replies
LEARN ABOUT FREEBSD
freebsd-version
FREEBSD-VERSION(1) BSD General Commands Manual FREEBSD-VERSION(1)
NAME
freebsd-version -- print the version and patch level of the installed system
SYNOPSIS
freebsd-version [-ku]
DESCRIPTION
The freebsd-version utility makes a best effort to determine the version and patch level of the installed kernel and / or userland.
The following options are available:
-k Print the version and patch level of the installed kernel. Unlike uname(1), if a new kernel has been installed but the system
has not yet rebooted, freebsd-version will print the version and patch level of the new kernel.
-u Print the version and patch level of the installed userland. These are hardcoded into freebsd-version during the build.
If both -k and -u are specified, freebsd-version will print the kernel version first, then the userland version, on separate lines. If nei-
ther is specified, it will print the userland version only.
IMPLEMENTATION NOTES
The freebsd-version utility should provide the correct answer in the vast majority of cases, including on systems kept up-to-date using
freebsd-update(8), which does not update the kernel version unless the kernel itself was affected by the latest patch.
To determine the name (and hence the location) of a custom kernel, the freebsd-version utility will attempt to parse
/boot/defaults/loader.conf and /boot/loader.conf, looking for definitions of the kernel and bootfile variables, both with a default value of
``kernel''. It may however fail to locate the correct kernel if either or both of these variables are defined in a non-standard location,
such as in /boot/loader.rc.
ENVIRONMENT
ROOT Path to the root of the filesystem in which to look for loader.conf and the kernel.
EXAMPLES
To determine the version of the currently running userland:
/bin/freebsd-version -u
To inspect a system being repaired using a live CD:
mount -rt ufs /dev/ada0p2 /mnt
env ROOT=/mnt /mnt/bin/freebsd-version -ku
SEE ALSO
uname(1), loader.conf(5), freebsd-version(8)
HISTORY
The freebsd-version command appeared in FreeBSD 10.0.
AUTHORS
The freebsd-version utility and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>.
BSD
October 5, 2013 BSD