Detection of Kernel using 'uname' commands

Detection of Kernel using 'uname' commands
************************************************ ***********************
The Linux kernel has a modular design. At boot time, only a minimal resident kernel is loaded into
memory. Thereafter, whenever a user requests a feature that is not present in the resident kernel, a kernel
module, sometimes referred to as a driver, is dynamically loaded into memory.
You may identify the details about your kernel using the "uname " command.
Here are the various options for the uname command:
-a, --all
print all information, in the following order:
-s, --kernel-name
print the kernel name
-n, --nodename
print the network node hostname
-r, --kernel-release
print the kernel release
-v, --kernel-version
print the kernel version
-m, --machine
print the machine hardware name
-p, --processor
print the processor type
-i, --hardware-platform
print the hardware platform
-o, --operating-system
print the operating system
--help display this help and exit
output version information and exit
[support@m10 support]$ uname -a
Linux m10 2.4.20-28.8smp #1 SMP Thu Dec 18 12:25:21 EST 2003 i686 i686 i386 GNU/Linux
[admin@m22 support]$uname -a
Linux 2.6.20-1.2307.fc5 #1 Sun Mar 18 20:44:48 EDT 2007 i686 athlon i386 GNU/Linux