{"id":146,"date":"2014-10-10T02:35:24","date_gmt":"2014-10-10T02:35:24","guid":{"rendered":"http:\/\/eltonoverip.com\/blog\/?p=146"},"modified":"2015-01-14T16:07:13","modified_gmt":"2015-01-14T16:07:13","slug":"check-debian-version","status":"publish","type":"post","link":"https:\/\/eltonoverip.com\/blog\/2014\/10\/check-debian-version\/","title":{"rendered":"Check Debian version"},"content":{"rendered":"<p>There are a few ways to check what version of Debian or Debian-based Linux (Ubuntu, etc) that you are using.<br \/>\n<code><br \/>\ncat \/etc\/debian_version<\/code><\/p>\n<p><code>cat \/etc\/issue<\/code><\/p>\n<p><code>lsb_release -a<\/code><\/p>\n<p>This file may not be available.<br \/>\n<code>cat \/etc\/lsb-release<\/code><\/p>\n<p>Output will look like this<\/p>\n<pre>\r\n<code>root@unknown_server:~# cat \/etc\/debian_version\r\n7.5<\/code>\r\n\r\n<code>root@unknown_server:~# cat \/etc\/issue\r\nDebian GNU\/Linux 7 \\n \\l<\/code>\r\n\r\n<code>root@unknown_server:~# lsb_release -a\r\nNo LSB modules are available.\r\nDistributor ID: Debian\r\nDescription:    Debian GNU\/Linux 7.5 (wheezy)\r\nRelease:        7.5\r\nCodename:       wheezy\r\n<\/code>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>There are a few ways to check what version of Debian or Debian-based Linux (Ubuntu, etc) that you are using. cat \/etc\/debian_version cat \/etc\/issue lsb_release -a This file may not be available. cat \/etc\/lsb-release Output will look like this root@unknown_server:~# cat \/etc\/debian_version 7.5 root@unknown_server:~# cat \/etc\/issue Debian GNU\/Linux 7 \\n \\l root@unknown_server:~# lsb_release -a No [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2],"tags":[],"class_list":["post-146","post","type-post","status-publish","format-standard","hentry","category-debian","category-linux"],"_links":{"self":[{"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/posts\/146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/comments?post=146"}],"version-history":[{"count":6,"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/posts\/146\/revisions"}],"predecessor-version":[{"id":446,"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/posts\/146\/revisions\/446"}],"wp:attachment":[{"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/media?parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/categories?post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/tags?post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}