How To Wiki

How to display the version of you linux kernel

1,795pages on
this wiki
Add New Page
Add New Page Talk0
  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

# uname -p

# uname -o

# uname -s

# uname -r

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


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

Also on Fandom

Random Wiki