Fandom

How To Wiki

How to display the version of you linux kernel

1,795pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

  1. Here are a couple of ways of determining which versions of the kernel you have:

uname Edit

uname potentially provides the following information on the operating system:

# uname --help
Usage: uname [OPTION]...
Print certain system information.  With no OPTION, same as -s.

  -a, --all                print all information, in the following order,
                             except omit -p and -i if unknown:
  -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 or "unknown"
  -i, --hardware-platform  print the hardware platform or "unknown"
  -o, --operating-system   print the operating system

the output for uname -a is all one one long line, so it can be hard to decipher when one part ends and another begins. It is likely more useful to use the options one at a time.

# uname -m
i686

# uname -p
i686

# uname -o
GNU/Linux

# uname -s
Linux

# uname -r
2.6.18-128.el5xen

# uname -v
#1 SMP Wed Jan 21 11:55:02 EST 2009

NotesEdit

    • It is not nessecary to be root, user login is fine
    • your mileage may vary...

Also on Fandom

Random Wiki