Determining which Linux version I'm running
Obvious newbie here.
I'm trying to determine which version of Linux my server is running by typing the command 'uname -r'. The result I get is 2.4.20-19.7 However, this doesn't look like a legitimate Linux version to me, or am I reading it wrong? Any ideas? |
2.4.20 is your Linux version
|
Is this the version of Redhat, or the version of Linux, or both?
Thanks. |
Just the kernel version. The version of Red Hat you're running will be in /etc/redhat-version (I think).
|
Determine version of Ubuntu
jlind@matroska:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=7.10 DISTRIB_CODENAME=gutsy DISTRIB_DESCRIPTION="Ubuntu 7.10" jlind@matroska:~$ Other dist's put similar files in /etc, look for a small text file that has a fitting name. file(1) is your friend. -- JPL |
Take a look here for the version files various distros put in etc/.
[edit] JPL-JPL, this thread's more than 3 years old. |
Quote:
over and out |
All times are GMT -5. The time now is 02:52 PM. |