{"id":149,"date":"2009-03-03T08:54:03","date_gmt":"2009-03-03T00:54:03","guid":{"rendered":"http:\/\/www.alfredivy.per.sg\/blogger\/?p=149"},"modified":"2015-12-01T13:47:13","modified_gmt":"2015-12-01T05:47:13","slug":"what-version-of-linux-am-i-running","status":"publish","type":"post","link":"https:\/\/www.alfredivy.sg\/blogger\/2009\/03\/what-version-of-linux-am-i-running\/","title":{"rendered":"What version of Linux am I running?"},"content":{"rendered":"<p>Well you can try &#8220;uname -a&#8221;.\u00a0 That always works for Solaris, Sun and HP-UX.\u00a0 For Linux, it is a slightly different matter.<\/p>\n<p><!--more-->Using the same command, all it returns is<\/p>\n<blockquote><p>Linux ubuntu 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU\/Linux<\/p><\/blockquote>\n<p>Not very informative.\u00a0 Try this instead &#8220;cat \/etc\/*release&#8221;<\/p>\n<blockquote><p>DISTRIB_ID=Ubuntu<br \/>\nDISTRIB_RELEASE=7.04<br \/>\nDISTRIB_CODENAME=feisty<br \/>\nDISTRIB_DESCRIPTION=&#8221;Ubuntu 7.04&#8243;<\/p><\/blockquote>\n<p>Use with uname, it gives all the info you need.<\/p>\n<p>For more Linux related posts see <a href=\"http:\/\/www.alfredivy.sg\/cgi-bin\/mt\/mt-search.cgi?IncludeBlogs=1&amp;search=linux\" target=\"_blank\">here.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well you can try &#8220;uname -a&#8221;.\u00a0 That always works for Solaris, Sun and HP-UX.\u00a0 For Linux, it is a slightly different matter.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[124],"tags":[125],"class_list":["post-149","post","type-post","status-publish","format-standard","hentry","category-linux-and-unix","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/comments?post=149"}],"version-history":[{"count":5,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/posts\/149\/revisions"}],"predecessor-version":[{"id":3704,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/posts\/149\/revisions\/3704"}],"wp:attachment":[{"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/media?parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/categories?post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/tags?post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}