{"id":417,"date":"2009-12-13T10:25:32","date_gmt":"2009-12-13T14:25:32","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=417"},"modified":"2013-03-30T06:49:27","modified_gmt":"2013-03-30T10:49:27","slug":"how-to-check-the-version-of-debian-or-ubuntu-os","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/how-to-check-the-version-of-debian-or-ubuntu-os","title":{"rendered":"How to check the version of Debian or Ubuntu OS?"},"content":{"rendered":"<blockquote><p><span style=\"color: #0000ff;\"><strong>How to check the version of Debian OR Ubuntu OS?<\/strong><\/span><\/p><\/blockquote>\n<p>To find out the <strong>version of Debian OS<\/strong> you are running, execute<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong># cat \/etc\/debian_version<\/strong><\/span><\/p><\/blockquote>\n<p>There are <strong>2 ways to find out the version of Ubuntu OS<\/strong> you are running.<\/p>\n<p><span style=\"color: #0000ff;\"><strong>1.<\/strong><\/span> <strong>Check the file \/etc\/issue<\/strong> and the output will be something like:<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong># cat \/etc\/issue<br \/>\nDebian GNU\/Linux 5.x<\/strong><\/span><\/p><\/blockquote>\n<p><span style=\"color: #0000ff;\"><strong>2.<\/strong><\/span> <strong>Execute the lsb_release command:<\/strong><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong># lsb_release -a<br \/>\nDistributor ID: Debian<br \/>\nDescription:\u00a0\u00a0\u00a0 Debian GNU\/Linux 5.x (lenny)<br \/>\nRelease:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 5.x<br \/>\nCodename:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 lenny<\/strong><\/span><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>How to check the version of Debian OR Ubuntu OS?<br \/>\nTo find out the version of Debian OS you are running, execute<br \/>\n# cat \/etc\/debian_version<br \/>\nThere are 2 ways to find out the version of Ubuntu OS you are running.<br \/>\n1. Check the file \/etc\/issue and the output will be something like:<br \/>\n# cat \/etc\/issue<br \/>\nDebian GNU\/Linux 5.x<br \/>\n2. Execute the lsb_release command:<br \/>\n# lsb_release -a<br \/>\nDistributor ID: Debian<br \/>\nDescription:\u00a0\u00a0\u00a0 Debian GNU\/Linux 5.x (lenny)<br \/>\nRelease:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 5.x<br \/>\nCodename:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 lenny<\/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":[557,555,558,553,552,559,560,561],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/417"}],"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=417"}],"version-history":[{"count":5,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/417\/revisions"}],"predecessor-version":[{"id":2298,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/417\/revisions\/2298"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}