{"id":1824,"date":"2023-02-15T07:34:04","date_gmt":"2023-02-15T07:34:04","guid":{"rendered":"http:\/\/feellikelearning.com\/?p=1824"},"modified":"2023-02-15T07:35:15","modified_gmt":"2023-02-15T07:35:15","slug":"how-to-check-ubuntu-version-using-cli","status":"publish","type":"post","link":"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/","title":{"rendered":"\u600e\u6837\u7528\u547d\u4ee4\u884c\u67e5\u8be2ubuntu \u7248\u672c\uff1f"},"content":{"rendered":"\n<p>\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5728Terminal\u4e0a\u67e5\u8be2\u5f53\u524dUbuntu\u7cfb\u7edf\u7248\u672c\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">lsb_release -a<\/pre>\n\n\n\n<p>\u6b64\u547d\u4ee4\u5c06\u8fd4\u56de\u60a8\u7684 Ubuntu \u53d1\u884c\u7248\u7684\u5b8c\u6574\u4fe1\u606f\uff0c\u5305\u62ec\u7248\u672c\u53f7\u3001CODENAME\u3001\u63cf\u8ff0\u548c\u53d1\u5e03\u65e5\u671f\u7b49\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u53ea\u9700\u8981\u67e5\u8be2 Ubuntu \u53d1\u884c\u7248\u7684\u7248\u672c\u53f7\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">lsb_release -rs<\/pre>\n\n\n\n<p>\u6b64\u547d\u4ee4\u5c06\u53ea\u8fd4\u56de Ubuntu \u53d1\u884c\u7248\u7684\u7248\u672c\u53f7\uff0c\u4f8b\u5982 &#8220;20.04&#8221; \u6216 &#8220;18.04&#8221; \u7b49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5728Terminal\u4e0a\u67e5\u8be2\u5f53\u524dUbuntu\u7cfb\u7edf\u7248\u672c\uff1a \u6b64\u547d\u4ee4\u5c06\u8fd4\u56de\u60a8\u7684 Ubuntu \u53d1\u884c\u7248\u7684\u5b8c\u6574\u4fe1\u606f\uff0c\u5305\u62ec\u7248\u672c\u53f7\u3001CODENAME\u3001\u63cf\u8ff0\u548c\u53d1\u5e03\u65e5\u671f\u7b49\u3002 \u5982\u679c\u60a8\u53ea\u9700\u8981\u67e5\u8be2 Ubuntu \u53d1\u884c\u7248\u7684\u7248\u672c\u53f7\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a \u6b64\u547d\u4ee4\u5c06\u53ea\u8fd4\u56de Ubuntu \u53d1\u884c\u7248\u7684\u7248\u672c\u53f7\uff0c\u4f8b\u5982 &#8220;20.04&#8221; \u6216 &#8220;18.04&#8221; \u7b49\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[42,3],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.10 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u600e\u6837\u7528\u547d\u4ee4\u884c\u67e5\u8be2ubuntu \u7248\u672c\uff1f | Feel Like Learning<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u600e\u6837\u7528\u547d\u4ee4\u884c\u67e5\u8be2ubuntu \u7248\u672c\uff1f | Feel Like Learning\" \/>\n<meta property=\"og:description\" content=\"\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5728Terminal\u4e0a\u67e5\u8be2\u5f53\u524dUbuntu\u7cfb\u7edf\u7248\u672c\uff1a \u6b64\u547d\u4ee4\u5c06\u8fd4\u56de\u60a8\u7684 Ubuntu \u53d1\u884c\u7248\u7684\u5b8c\u6574\u4fe1\u606f\uff0c\u5305\u62ec\u7248\u672c\u53f7\u3001CODENAME\u3001\u63cf\u8ff0\u548c\u53d1\u5e03\u65e5\u671f\u7b49\u3002 \u5982\u679c\u60a8\u53ea\u9700\u8981\u67e5\u8be2 Ubuntu \u53d1\u884c\u7248\u7684\u7248\u672c\u53f7\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a \u6b64\u547d\u4ee4\u5c06\u53ea\u8fd4\u56de Ubuntu \u53d1\u884c\u7248\u7684\u7248\u672c\u53f7\uff0c\u4f8b\u5982 &#8220;20.04&#8221; \u6216 &#8220;18.04&#8221; \u7b49\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant\" \/>\n<meta property=\"og:site_name\" content=\"Feel Like Learning\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-15T07:34:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-15T07:35:15+00:00\" \/>\n<meta name=\"author\" content=\"feellikelearning\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"feellikelearning\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant#article\",\"isPartOf\":{\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant\"},\"author\":{\"name\":\"feellikelearning\",\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\"},\"headline\":\"\u600e\u6837\u7528\u547d\u4ee4\u884c\u67e5\u8be2ubuntu \u7248\u672c\uff1f\",\"datePublished\":\"2023-02-15T07:34:04+00:00\",\"dateModified\":\"2023-02-15T07:35:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant\"},\"wordCount\":7,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\"},\"articleSection\":[\"Linux\",\"\u7f16\u7a0b\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant\",\"url\":\"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant\",\"name\":\"\u600e\u6837\u7528\u547d\u4ee4\u884c\u67e5\u8be2ubuntu \u7248\u672c\uff1f | Feel Like Learning\",\"isPartOf\":{\"@id\":\"https:\/\/feellikelearning.com\/#website\"},\"datePublished\":\"2023-02-15T07:34:04+00:00\",\"dateModified\":\"2023-02-15T07:35:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/feellikelearning.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u600e\u6837\u7528\u547d\u4ee4\u884c\u67e5\u8be2ubuntu \u7248\u672c\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/feellikelearning.com\/#website\",\"url\":\"https:\/\/feellikelearning.com\/\",\"name\":\"Feel Like Learning\",\"description\":\"\u7a0b\u5e8f\uff5c\u751f\u6d3b\uff5c\u5b66\u5230\u5c31\u662f\u8d5a\u5230\",\"publisher\":{\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/feellikelearning.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\",\"name\":\"feellikelearning\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g\",\"caption\":\"feellikelearning\"},\"logo\":{\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/feellikelearning.com\/index.php\/author\/feellikelearning\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u600e\u6837\u7528\u547d\u4ee4\u884c\u67e5\u8be2ubuntu \u7248\u672c\uff1f | Feel Like Learning","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant","og_locale":"en_US","og_type":"article","og_title":"\u600e\u6837\u7528\u547d\u4ee4\u884c\u67e5\u8be2ubuntu \u7248\u672c\uff1f | Feel Like Learning","og_description":"\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5728Terminal\u4e0a\u67e5\u8be2\u5f53\u524dUbuntu\u7cfb\u7edf\u7248\u672c\uff1a \u6b64\u547d\u4ee4\u5c06\u8fd4\u56de\u60a8\u7684 Ubuntu \u53d1\u884c\u7248\u7684\u5b8c\u6574\u4fe1\u606f\uff0c\u5305\u62ec\u7248\u672c\u53f7\u3001CODENAME\u3001\u63cf\u8ff0\u548c\u53d1\u5e03\u65e5\u671f\u7b49\u3002 \u5982\u679c\u60a8\u53ea\u9700\u8981\u67e5\u8be2 Ubuntu \u53d1\u884c\u7248\u7684\u7248\u672c\u53f7\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a \u6b64\u547d\u4ee4\u5c06\u53ea\u8fd4\u56de Ubuntu \u53d1\u884c\u7248\u7684\u7248\u672c\u53f7\uff0c\u4f8b\u5982 &#8220;20.04&#8221; \u6216 &#8220;18.04&#8221; \u7b49\u3002","og_url":"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant","og_site_name":"Feel Like Learning","article_published_time":"2023-02-15T07:34:04+00:00","article_modified_time":"2023-02-15T07:35:15+00:00","author":"feellikelearning","twitter_card":"summary_large_image","twitter_misc":{"Written by":"feellikelearning","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant#article","isPartOf":{"@id":"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant"},"author":{"name":"feellikelearning","@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a"},"headline":"\u600e\u6837\u7528\u547d\u4ee4\u884c\u67e5\u8be2ubuntu \u7248\u672c\uff1f","datePublished":"2023-02-15T07:34:04+00:00","dateModified":"2023-02-15T07:35:15+00:00","mainEntityOfPage":{"@id":"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant"},"wordCount":7,"commentCount":0,"publisher":{"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a"},"articleSection":["Linux","\u7f16\u7a0b"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant#respond"]}]},{"@type":"WebPage","@id":"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant","url":"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant","name":"\u600e\u6837\u7528\u547d\u4ee4\u884c\u67e5\u8be2ubuntu \u7248\u672c\uff1f | Feel Like Learning","isPartOf":{"@id":"https:\/\/feellikelearning.com\/#website"},"datePublished":"2023-02-15T07:34:04+00:00","dateModified":"2023-02-15T07:35:15+00:00","breadcrumb":{"@id":"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/feellikelearning.com\/index.php\/2023\/02\/15\/how-to-check-ubuntu-version-using-cli\/?variant=zh-hant#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/feellikelearning.com\/"},{"@type":"ListItem","position":2,"name":"\u600e\u6837\u7528\u547d\u4ee4\u884c\u67e5\u8be2ubuntu \u7248\u672c\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/feellikelearning.com\/#website","url":"https:\/\/feellikelearning.com\/","name":"Feel Like Learning","description":"\u7a0b\u5e8f\uff5c\u751f\u6d3b\uff5c\u5b66\u5230\u5c31\u662f\u8d5a\u5230","publisher":{"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/feellikelearning.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a","name":"feellikelearning","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g","caption":"feellikelearning"},"logo":{"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/"},"url":"https:\/\/feellikelearning.com\/index.php\/author\/feellikelearning\/"}]}},"_links":{"self":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts\/1824"}],"collection":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/comments?post=1824"}],"version-history":[{"count":1,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts\/1824\/revisions"}],"predecessor-version":[{"id":1825,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts\/1824\/revisions\/1825"}],"wp:attachment":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/media?parent=1824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/categories?post=1824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/tags?post=1824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}