Wednesday, July 25, 2007

more with kernel name version howto

How to know your Fedora/Redhat/CentOS release version?

Easy as splash image. Follow these steps as root

# cat /etc/issue

You'll be seeing lines like these
~~~~~~~~~~~~~~~~~~~~~~~~
Fedora release 7 (Moonshine)
Kernel \r on an \m
~~~~~~~~~~~~~~~~~~~~~~~~

You can actually edit this file and reflect some access restriction wordings like so:

~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unauthorized Access is PROHIBITED!!!!

Security access restrictions applied.
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Upon successful logins of any shell enabled user accounts via server consoles (tty*), these lines would be reflected.

Additionally, you may want to try out the following commands too:

# cat /proc/sys/kernel/ostype
# cat /proc/sys/kernel/osrelease
# cat /proc/sys/kernel/version

which gives you the same combined result from issuing

# uname -a

That's all.

0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy