{"id":367,"date":"2014-12-09T20:45:25","date_gmt":"2014-12-09T15:15:25","guid":{"rendered":"http:\/\/www.cyberaka.com\/?p=367"},"modified":"2017-01-30T11:31:31","modified_gmt":"2017-01-30T06:01:31","slug":"how-to-find-linux-distribution-version","status":"publish","type":"post","link":"https:\/\/www.cyberaka.com\/?p=367","title":{"rendered":"How to find Linux distribution and  kernel version"},"content":{"rendered":"<p>In order find out what version of Linux you are running you can execute either of the following commands:<\/p>\n<ul>\n<li class=\"p1\"><span class=\"s1\">cat \/etc\/*-release<\/span><\/li>\n<li class=\"p1\">lsb_release -a<\/li>\n<li>cat \/proc\/version<\/li>\n<li>dmesg | head -1<\/li>\n<\/ul>\n<p>To find out the kernel version of Linux you can execute either of the following commands:<\/p>\n<ul>\n<li class=\"p1\"><span class=\"s1\">uname -a<\/span><\/li>\n<li>uname -mrs<\/li>\n<\/ul>\n<p>Disclaimer: These commands worked for me on Debian Linux.<\/p>\n<h2>Update for Oracle Linux<\/h2>\n<p class=\"p1\">The following commands gave\u00a0accurate information about OS and release numbers on Oracle Linux.<\/p>\n<pre class=\"p1\"><strong><span class=\"s1\">rpm -qf \/etc\/redhat-release<\/span><\/strong>\r\n\r\n<span class=\"s1\">oraclelinux-release-6Server-8.0.3.x86_64<\/span><\/pre>\n<pre class=\"p1\"><strong><span class=\"s1\">cat \/etc\/issue.net | head -1<\/span><\/strong>\r\n\r\n<span class=\"s1\">Oracle Linux Server release 6.8<\/span><\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order find out what version of Linux you are running you can execute either of the following commands: cat \/etc\/*-release lsb_release -a cat \/proc\/version dmesg | head -1 To find out the kernel version of Linux you can execute either of the following commands: uname -a uname -mrs Disclaimer: These commands worked for me [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,24],"tags":[],"class_list":["post-367","post","type-post","status-publish","format-standard","hentry","category-linux-os","category-tips-and-tricks"],"_links":{"self":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts\/367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=367"}],"version-history":[{"count":10,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts\/367\/revisions"}],"predecessor-version":[{"id":540,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts\/367\/revisions\/540"}],"wp:attachment":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}