kernel version

Hi all,

anyone know what should be the kernel version for red hat linux enterprise 3 update 3 .

I have installed kernel version is 2.4.21-4 and some says that it may not be the red hat linux enterprise 3 update 3 .
:o
thanks
Bert

Your linux distro holds a file containing the information about the linux version you have installed.

For RH linux, it will be /etc/redhat-release

For me, it says

sh-2.05b$ cat /etc/redhat-release 
Red Hat Enterprise Linux AS release 3 (Taroon Update 4)

Also

uname -r

gives you the kernel release.

Run the script posted in this post .

Gives you a better result.

vino

Thanks Vino for your quick reply.

uname -r gives

2.4.21-4.ELsmp

cat /etc/redhat-release gives

Red Hat Enterprise Linux AS release 3 (Taroon)

regards
Bert

Hi again,

So to find the version my pc is using i type a command such as uname -r
Is this correct? Also, when i switch on the [c and log on, shouldnt there be any default wordings that show the Unix OS version?'
Thanks

Read the man page for uname.

It says

       -o, --operating-system
              print the operating system

When you log on, you can make your machine show the OS version it is using. I think you need to put it in .bash_profile.

By default it will not show.

But telnet'ing into that machine will show the information.

vino