Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page




Reference number: CH001106

How do I know what kernel / distro of Linux I have?

Question:

How do I know what kernel / distro of Linux I have?

Answer:

Using the uname command, you can quickly and easily identify what kernel version you're using. as shown below.

uname -arv
SunOS hope 5.7 Generic_106541-08 sun4m sparc SUNW,SPARCstation-10

uname -r
2.6.24-19-generic

Using the cat command to examine the contents of specific files can also help identify more information about the system. Below is a list of these files. Unfortunately, not all distros of Linux are the same. Therefore, this list displays the Linux type and then the cat file to edit.

CentOS Linux distro

cat /proc/version

Debian Linux distro

cat /etc/debian_version

Redhat Linux distro

cat /etc/redhat-release

Ubuntu Linux distro

cat /etc/issue

or

cat /etc/lsb-release

Additional information:

 

 

 

Index


Category:
Linux Q&A

Companies:
Click here

Related Pages:

 

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope