{"id":1431,"date":"2011-09-02T09:57:58","date_gmt":"2011-09-02T13:57:58","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=1431"},"modified":"2013-03-20T08:44:20","modified_gmt":"2013-03-20T12:44:20","slug":"howto-find-the-linux-kernel-version","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/howto-find-the-linux-kernel-version","title":{"rendered":"Howto: find the Linux kernel version?"},"content":{"rendered":"<p>The &#8216;<strong>uname<\/strong>&#8216; command is use to determine certain system information in all the Linux\/Unix flavours like CentOS, Ubuntu, Debian, Fedora, FreeBSD etc. With specific &#8216;uname&#8217; options, you can display all the details of the current working kernel on the server.<\/p>\n<p>To display the working kernel name, version, date and time, system architecture type etc, use:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># uname -a<\/span><\/pre>\n<pre><span style=\"color: #0000ff;\">Linux server.domain.tld 2.6.18-164.11.1.el5 #1<\/span><\/pre>\n<pre><span style=\"color: #0000ff;\">SMP Wed Jan 20 07:39:04 EST 2010 i686 i686 i386 GNU\/Linux<\/span><\/pre>\n<\/blockquote>\n<p>To print only the<strong> kernel version<\/strong> along with it&#8217;s major and minor versions:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># uname -r<\/span>\r\n<span style=\"color: #0000ff;\">2.6.18-164.11.1.el5<\/span><\/pre>\n<\/blockquote>\n<p>To print the<strong> system architecture type<\/strong> i.e. whether the machine is 32 or 64 bit, use:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># uname -p<\/span>\r\n<span style=\"color: #0000ff;\">i686<\/span><\/pre>\n<\/blockquote>\n<p>The <strong>\/proc\/version file <\/strong>also contains the kernel information:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># cat \/proc\/version<\/span><\/pre>\n<pre><span style=\"color: #0000ff;\">Linux version 2.6.18-164.11.1.el5 (gcc version 4.1.2 20080704 <\/span><\/pre>\n<pre><span style=\"color: #0000ff;\">(Red Hat 4.1.2-46)) #1 SMP Wed Jan 20 07:39:04 EST 2010<\/span><\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>The &#8216;uname&#8216; command is use to determine certain system information in all the Linux\/Unix flavours like CentOS, Ubuntu, Debian, Fedora, FreeBSD etc. With specific &#8216;uname&#8217; options, you can display all the details of the current working kernel on the server.<br \/>\nTo display the working kernel name, version, date and time, system architecture type etc, use:<\/p>\n<p># uname -a<br \/>\nLinux server.domain.tld 2.6.18-164.11.1.el5 #1<br \/>\nSMP Wed Jan 20 07:39:04 EST 2010 i686 i686 i386 GNU\/Linux<\/p>\n<p>To print only the kernel version along with it&#8217;s major and minor versions:<\/p>\n<p># uname -r<br \/>\n2.6.18-164.11.1.el5<\/p>\n<p>To print the system architecture type [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1288,1289,1293,1292,1295,1294,1287,1291],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/1431"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=1431"}],"version-history":[{"count":14,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/1431\/revisions"}],"predecessor-version":[{"id":1438,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/1431\/revisions\/1438"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=1431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=1431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=1431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}