<script type="application/ld+json">{"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.simcentric.com/tc/"},{"@type":"ListItem","position":2,"name":"如何在終端中檢查Ubuntu版本？","item":"https://www.simcentric.com/tc/hong-kong-dedicated-server-tc/how-to-check-ubuntu-version-in-terminal/"}]}</script> {"id":14405,"date":"2024-08-08T14:54:53","date_gmt":"2024-08-08T06:54:53","guid":{"rendered":"https:\/\/www.simcentric.com\/uncategorized-tc\/how-to-check-ubuntu-version-in-terminal\/"},"modified":"2024-08-08T15:26:04","modified_gmt":"2024-08-08T07:26:04","slug":"how-to-check-ubuntu-version-in-terminal","status":"publish","type":"post","link":"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/","title":{"rendered":"\u5982\u4f55\u5728\u7d42\u7aef\u4e2d\u6aa2\u67e5Ubuntu\u7248\u672c\uff1f"},"content":{"rendered":"<p>\u5728\u7e41\u5fd9\u7684<a href=\"https:\/\/www.simcentric.com\/tc\/products\/dedicated-server-hk\/\" target=\"_blank\" rel=\"noopener\">\u9999\u6e2f\u4f3a\u670d\u5668\u79df\u7528<\/a>\u9818\u57df\uff0c<a href=\"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-configure-and-optimize-ubuntu-ufw-firewall\/\" target=\"_blank\" rel=\"noopener\">Ubuntu<\/a>\u4f54\u64da\u91cd\u8981\u5730\u4f4d\uff0c\u5b83\u4e5f\u662f<a href=\"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/what-is-linux-use-cases-and-comparison-with-windows\/\" target=\"_blank\" rel=\"noopener\">Linux<\/a>\u7684\u767c\u884c\u7248\u4e4b\u4e00\u3002\u7121\u8ad6\u60a8\u662f\u7ba1\u7406\u9ad8\u6548\u80fd\u4f3a\u670d\u5668\u8a17\u7ba1\u8a2d\u7f6e\u9084\u662f\u5fae\u8abf\u865b\u64ec\u79c1\u6709\u4f3a\u670d\u5668\uff0c\u4e86\u89e3\u60a8\u7684Ubuntu\u7248\u672c\u90fd\u81f3\u95dc\u91cd\u8981\u3002\u672c\u6307\u5357\u5c07\u63d0\u5347\u60a8\u7684\u7d42\u7aef\u6280\u80fd\uff0c\u4f7f\u60a8\u80fd\u5920\u50cf\u7d93\u9a57\u8c50\u5bcc\u7684\u7cfb\u7d71\u7ba1\u7406\u54e1\u4e00\u6a23\u719f\u7df4\u5730\u6aa2\u67e5Ubuntu\u7248\u672c\u3002<\/p>\n<h2><strong>\u70ba\u4ec0\u9ebc\u7248\u672c\u6aa2\u67e5\u5728\u4f3a\u670d\u5668\u7ba1\u7406\u4e2d\u5982\u6b64\u91cd\u8981\uff1f<\/strong><\/h2>\n<p>\u5728\u6211\u5011\u6df1\u5165\u63a2\u8a0e\u547d\u4ee4\u5217\u6280\u5de7\u4e4b\u524d\uff0c\u8b93\u6211\u5011\u8003\u616e\u4e00\u4e0b\u70ba\u4ec0\u9ebc\u7248\u672c\u6aa2\u67e5\u4e0d\u50c5\u50c5\u662f\u6280\u8853\u611b\u597d\u8005\u7684\u7463\u4e8b\uff1a<\/p>\n<ul>\n<li>\u5b89\u5168\u88dc\u4e01\uff1a\u820a\u7248\u672c\u53ef\u80fd\u5b58\u5728\u6f0f\u6d1e\uff0c\u53ef\u80fd\u6703\u5371\u53ca\u60a8\u7684\u9999\u6e2f\u4f3a\u670d\u5668\u3002<\/li>\n<li>\u8edf\u9ad4\u76f8\u5bb9\u6027\uff1a\u67d0\u4e9b\u61c9\u7528\u7a0b\u5f0f\u9700\u8981\u7279\u5b9a\u7684Ubuntu\u7248\u672c\u624d\u80fd\u767c\u63ee\u6700\u4f73\u6548\u80fd\u3002<\/li>\n<li>\u6548\u80fd\u8abf\u6574\uff1a\u4e0d\u540c\u7684Ubuntu\u767c\u884c\u7248\u5e36\u6709\u4e0d\u540c\u7684\u6838\u5fc3\u512a\u5316\u3002<\/li>\n<li>\u6545\u969c\u6392\u9664\uff1a\u7248\u672c\u8cc7\u8a0a\u901a\u5e38\u662f\u8a3a\u65b7\u4f3a\u670d\u5668\u554f\u984c\u7684\u7b2c\u4e00\u6b65\u3002<\/li>\n<\/ul>\n<h2><strong>Ubuntu\u7248\u672c\u6aa2\u6e2c\u7684\u7d42\u7aef\u6280\u5de7<\/strong><\/h2>\n<h3>1. \u7d93\u5178\u7684lsb_release\u547d\u4ee4<\/h3>\n<p>\u8b93\u6211\u5011\u5f9e\u4e45\u7d93\u8003\u9a57\u7684\u65b9\u6cd5\u958b\u59cb\uff1a<\/p>\n<pre><code>lsb_release -a<\/code><\/pre>\n<p>\u6b64\u547d\u4ee4\u63ed\u793a\u4e86\u5927\u91cf\u8cc7\u8a0a\uff0c\u5305\u62ec\u767c\u884c\u7248ID\u3001\u63cf\u8ff0\u3001\u767c\u884c\u865f\u548c\u4ee3\u865f\u3002\u8981\u7372\u5f97\u66f4\u7c21\u6f54\u7684\u8f38\u51fa\uff0c\u8acb\u4f7f\u7528\uff1a<\/p>\n<pre><code>lsb_release -d<\/code><\/pre>\n<h3>2. \u67e5\u770b\/etc\/os-release\u6a94\u6848<\/h3>\n<p>\u5c0d\u65bc\u559c\u6b61\u6a94\u6848\u6aa2\u67e5\u7684\u4eba\uff1a<\/p>\n<pre><code>cat \/etc\/os-release<\/code><\/pre>\n<p>\u6b64\u6a94\u6848\u4ee5\u9375\u503c\u683c\u5f0f\u5305\u542b\u8a73\u7d30\u7684\u4f5c\u696d\u7cfb\u7d71\u8cc7\u8a0a\uff0c\u975e\u5e38\u9069\u5408\u8173\u672c\u7de8\u5beb\u548c\u81ea\u52d5\u5316\u4efb\u52d9\u3002<\/p>\n<h3>3. \u591a\u529f\u80fd\u7684hostnamectl\u547d\u4ee4<\/h3>\n<p>\u7cfb\u7d71\u8cc7\u8a0a\u7684\u745e\u58eb\u8ecd\u5200\uff1a<\/p>\n<pre><code>hostnamectl<\/code><\/pre>\n<p>\u6b64\u547d\u4ee4\u4e0d\u50c5\u986f\u793aUbuntu\u7248\u672c\uff0c\u9084\u63d0\u4f9b\u6838\u5fc3\u548c\u6a5f\u5668\u8cc7\u8a0a &#8211; \u7cfb\u7d71\u8a73\u7d30\u8cc7\u8a0a\u7684\u4e00\u7ad9\u5f0f\u5546\u5e97\u3002<\/p>\n<h3>4. \u6975\u7c21\u4e3b\u7fa9\u7684\/etc\/issue\u65b9\u6cd5<\/h3>\n<p>\u5c0d\u65bc\u90a3\u4e9b\u6b23\u8cde\u7c21\u55ae\u7684\u4eba\uff1a<\/p>\n<pre><code>cat \/etc\/issue<\/code><\/pre>\n<p>\u6b64\u6a94\u6848\u901a\u5e38\u5305\u542b\u4e00\u884c\u5e36\u6709Ubuntu\u7248\u672c\u548c\u4ee3\u865f\u7684\u8cc7\u8a0a\u3002<\/p>\n<h2><strong>\u6838\u5fc3\u7248\u672c\uff1a\u7cfb\u7d71\u7684\u6838\u5fc3<\/strong><\/h2>\n<p>\u8981\u66f4\u6df1\u5165\u5730\u4e86\u89e3\u60a8\u7684Ubuntu\u7cfb\u7d71\uff0c\u6aa2\u67e5\u6838\u5fc3\u7248\u672c\u81f3\u95dc\u91cd\u8981\uff1a<\/p>\n<pre><code>uname -r<\/code><\/pre>\n<p>\u6b64\u547d\u4ee4\u986f\u793a\u6838\u5fc3\u767c\u884c\u7248\u3002\u8981\u7372\u5f97\u66f4\u8a73\u7d30\u7684\u6838\u5fc3\u8cc7\u8a0a\uff0c\u8acb\u4f7f\u7528\uff1a<\/p>\n<pre><code>uname -a<\/code><\/pre>\n<h2><strong>\u9999\u6e2f\u4f3a\u670d\u5668\u7684\u9060\u7aef\u7248\u672c\u6aa2\u67e5<\/strong><\/h2>\n<p>\u5728\u7ba1\u7406\u9999\u6e2f\u9060\u7aef\u4f3a\u670d\u5668\u6642\uff0cSSH\u662f\u60a8\u6700\u597d\u7684\u670b\u53cb\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u9060\u7aef\u6aa2\u67e5Ubuntu\u7248\u672c\uff1a<\/p>\n<pre><code>ssh user@hong_kong_server_ip \"lsb_release -d\"<\/code><\/pre>\n<p>\u5c07&#8221;user&#8221;\u548c&#8221;hong_kong_server_ip&#8221;\u66ff\u63db\u70ba\u60a8\u7684\u5be6\u969b\u6191\u8b49\u3002\u8acb\u8a18\u4f4f\u4f7f\u7528\u57fa\u65bc\u91d1\u9470\u7684\u8eab\u4efd\u9a57\u8b49\u4ee5\u589e\u5f37\u5b89\u5168\u6027\u3002<\/p>\n<h2><strong>\u7248\u672c\u5c0d\u9999\u6e2f\u4f3a\u670d\u5668\u6548\u80fd\u7684\u5f71\u97ff<\/strong><\/h2>\n<p>\u4e0d\u540c\u7684Ubuntu\u7248\u672c\u6703\u986f\u8457\u5f71\u97ff\u60a8\u7684\u9999\u6e2f\u4f3a\u670d\u5668\u7684\u6548\u80fd\u3002\u4ee5\u4e0b\u662f\u5feb\u901f\u6bd4\u8f03\uff1a<\/p>\n<ul>\n<li>Ubuntu 20.04 LTS\uff1a\u63d0\u4f9b\u9577\u671f\u7a69\u5b9a\u6027\uff0c\u975e\u5e38\u9069\u5408\u751f\u7522\u74b0\u5883\u3002<\/li>\n<li>Ubuntu 22.04 LTS\uff1a\u63d0\u4f9b\u66f4\u65b0\u7684\u529f\u80fd\u548c\u6539\u9032\u7684\u6548\u80fd\uff0c\u975e\u5e38\u9069\u5408\u524d\u6cbf\u61c9\u7528\u3002<\/li>\n<li>\u975eLTS\u7248\u672c\uff1a\u63d0\u4f9b\u6700\u65b0\u529f\u80fd\uff0c\u4f46\u652f\u63f4\u7a97\u53e3\u8f03\u77ed\uff0c\u9069\u5408\u958b\u767c\u74b0\u5883\u3002<\/li>\n<\/ul>\n<h2><strong>\u4fdd\u6301Ubuntu\u4f3a\u670d\u5668\u70ba\u6700\u65b0\u72c0\u614b<\/strong><\/h2>\n<p>\u7dad\u8b77\u66f4\u65b0\u7684\u7cfb\u7d71\u5c0d\u5b89\u5168\u548c\u6548\u80fd\u81f3\u95dc\u91cd\u8981\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u66f4\u65b0\u60a8\u7684Ubuntu\u4f3a\u670d\u5668\uff1a<\/p>\n<pre><code>sudo apt update\r\nsudo apt upgrade<\/code><\/pre>\n<p>\u5c0d\u65bc\u66f4\u6fc0\u9032\u7684\u5347\u7d1a\uff0c\u53ef\u4ee5\u8655\u7406\u66f4\u6539\u7684\u4f9d\u8cf4\u95dc\u4fc2\uff1a<\/p>\n<pre><code>sudo apt dist-upgrade<\/code><\/pre>\n<h2><strong>\u9032\u968e\u7248\u672c\u7ba1\u7406\u6280\u8853<\/strong><\/h2>\n<p>\u5c0d\u65bc\u771f\u6b63\u7684\u6975\u5ba2\uff0c\u9019\u88e1\u6709\u4e00\u500bbash\u51fd\u6578\u53ef\u4ee5\u6dfb\u52a0\u5230\u60a8\u7684.bashrc\u6a94\u6848\u4e2d\uff0c\u4ee5\u4fbf\u5feb\u901f\u6aa2\u67e5\u7248\u672c\uff1a<\/p>\n<pre><code>ubuntu_version() {\r\n    local version=$(lsb_release -rs)\r\n    local codename=$(lsb_release -cs)\r\n    echo \"Ubuntu $version ($codename)\"\r\n}\r\n<\/code><\/pre>\n<p>\u6dfb\u52a0\u6b64\u51fd\u6578\u5f8c\uff0c\u60a8\u53ea\u9700\u5728\u7d42\u7aef\u4e2d\u8f38\u5165<code>ubuntu_version<\/code>\u5373\u53ef\u5feb\u901f\u6aa2\u67e5\u3002<\/p>\n<h2><strong>\u6392\u9664\u8207\u7248\u672c\u76f8\u95dc\u7684\u554f\u984c<\/strong><\/h2>\n<p>\u6709\u6642\uff0c\u7248\u672c\u885d\u7a81\u53ef\u80fd\u6703\u5c0e\u81f4\u554f\u984c\u3002\u9019\u88e1\u6709\u4e00\u500b\u5feb\u901f\u6545\u969c\u6392\u9664\u8173\u672c\uff1a<\/p>\n<pre><code>#!\/bin\/bash\r\n\r\necho \"Ubuntu\u7248\u672c: $(lsb_release -d | cut -f2)\"\r\necho \"\u6838\u5fc3\u7248\u672c: $(uname -r)\"\r\necho \"\u5957\u4ef6\u72c0\u614b:\"\r\napt-get -s upgrade | grep -E \"^Inst\"\r\n\r\nif [ $? -eq 0 ]; then\r\n    echo \"\u5957\u4ef6\u9700\u8981\u66f4\u65b0\uff01\"\r\nelse\r\n    echo \"\u7cfb\u7d71\u5df2\u662f\u6700\u65b0\u3002\"\r\nfi\r\n<\/code><\/pre>\n<p>\u6b64\u8173\u672c\u6aa2\u67e5\u60a8\u7684Ubuntu\u7248\u672c\u3001\u6838\u5fc3\u7248\u672c\uff0c\u4ee5\u53ca\u662f\u5426\u6709\u4efb\u4f55\u5957\u4ef6\u9700\u8981\u66f4\u65b0\u3002<\/p>\n<h2><strong>\u7d50\u8ad6<\/strong><\/h2>\n<p>\u638c\u63e1Ubuntu\u7248\u672c\u6aa2\u67e5\u4e0d\u50c5\u50c5\u662f\u4e00\u9805\u6280\u8853\u6280\u80fd &#8211; \u5b83\u662f\u5728\u9999\u6e2f\u7af6\u722d\u6fc0\u70c8\u7684\u4f3a\u670d\u5668\u79df\u7528\u9818\u57df\u9032\u884c\u6709\u6548\u4f3a\u670d\u5668\u7ba1\u7406\u7684\u95dc\u9375\u65b9\u9762\u3002\u900f\u904e\u5229\u7528\u9019\u4e9b\u7d42\u7aef\u6280\u5de7\uff0c\u60a8\u4e0d\u50c5\u50c5\u662f\u5728\u6aa2\u67e5\u7248\u672c\uff1b\u60a8\u6b63\u5728\u512a\u5316\u6548\u80fd\uff0c\u589e\u5f37\u5b89\u5168\u6027\uff0c\u4e26\u78ba\u4fdd\u60a8\u7684\u4f3a\u670d\u5668\u59cb\u7d42\u8655\u65bc\u6700\u4f73\u72c0\u614b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u7e41\u5fd9\u7684\u9999\u6e2f\u4f3a\u670d\u5668\u79df\u7528\u9818\u57df\uff0cUbuntu\u4f54\u64da\u91cd\u8981\u5730\u4f4d\uff0c\u5b83\u4e5f\u662fLinux\u7684\u767c\u884c\u7248\u4e4b\u4e00\u3002\u7121\u8ad6\u60a8\u662f\u7ba1\u7406\u9ad8\u6548\u80fd\u4f3a\u670d\u5668\u8a17 [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":3,"featured_media":14399,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[61],"tags":[2875,2876,2877,2284,259],"class_list":["post-14405","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hong-kong-dedicated-server-tc","tag-ubuntu-version-tc","tag-terminal-commands-tc","tag-linux-administration-tc","tag-server-optimization-tc","tag-259"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u5982\u4f55\u5728\u7d42\u7aef\u4e2d\u6aa2\u67e5Ubuntu\u7248\u672c\uff1f<\/title>\n<meta name=\"description\" content=\"\u638c\u63e1\u4f7f\u7528\u7d42\u7aef\u547d\u4ee4\u6aa2\u67e5Ubuntu\u7248\u672c\u7684\u6280\u5de7\u3002\u5b78\u7fd2\u9999\u6e2f\u4f3a\u670d\u5668\u7ba1\u7406\u54e1\u512a\u5316\u6548\u80fd\u548c\u5b89\u5168\u6027\u7684\u9032\u968e\u6280\u8853\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/14405\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"company\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728\u7d42\u7aef\u4e2d\u6aa2\u67e5Ubuntu\u7248\u672c\uff1f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/14405\" \/>\n<meta property=\"og:site_name\" content=\"\u65b0\u5929\u57df\u4e92\u806f\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-08T06:54:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-08T07:26:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/08\/sim_blog0808a.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"341\" \/>\n\t<meta property=\"og:image:height\" content=\"341\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u5728\u7d42\u7aef\u4e2d\u6aa2\u67e5Ubuntu\u7248\u672c\uff1f","description":"\u638c\u63e1\u4f7f\u7528\u7d42\u7aef\u547d\u4ee4\u6aa2\u67e5Ubuntu\u7248\u672c\u7684\u6280\u5de7\u3002\u5b78\u7fd2\u9999\u6e2f\u4f3a\u670d\u5668\u7ba1\u7406\u54e1\u512a\u5316\u6548\u80fd\u548c\u5b89\u5168\u6027\u7684\u9032\u968e\u6280\u8853\u3002","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:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/14405","og_locale":"zh_TW","og_type":"company","og_title":"\u5982\u4f55\u5728\u7d42\u7aef\u4e2d\u6aa2\u67e5Ubuntu\u7248\u672c\uff1f","og_url":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/14405","og_site_name":"\u65b0\u5929\u57df\u4e92\u806f","article_published_time":"2024-08-08T06:54:53+00:00","article_modified_time":"2024-08-08T07:26:04+00:00","og_image":[{"width":341,"height":341,"url":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/08\/sim_blog0808a.jpg","type":"image\/jpeg"}],"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/#article","isPartOf":{"@id":"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/"},"author":{"name":"Felix Cheung","@id":"https:\/\/simcentric.com\/tc\/#\/schema\/person\/2865b3454f789caf7083a203799d4a6d"},"headline":"\u5982\u4f55\u5728\u7d42\u7aef\u4e2d\u6aa2\u67e5Ubuntu\u7248\u672c\uff1f","datePublished":"2024-08-08T06:54:53+00:00","dateModified":"2024-08-08T07:26:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/"},"wordCount":40,"publisher":{"@id":"https:\/\/simcentric.com\/tc\/#organization"},"image":{"@id":"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/08\/sim_blog0808a.jpg","keywords":["Ubuntu\u7248\u672c","\u7d42\u7aef\u547d\u4ee4","Linux\u7ba1\u7406","\u4f3a\u670d\u5668\u6700\u4f73\u5316","\u9999\u6e2f\u4f3a\u670d\u5668"],"articleSection":["\u9999\u6e2f\u4f3a\u670d\u5668"],"inLanguage":"zh-HK"},{"@type":"WebPage","@id":"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/","url":"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/","name":"\u5982\u4f55\u5728\u7d42\u7aef\u4e2d\u6aa2\u67e5Ubuntu\u7248\u672c\uff1f","isPartOf":{"@id":"https:\/\/simcentric.com\/tc\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/#primaryimage"},"image":{"@id":"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/08\/sim_blog0808a.jpg","datePublished":"2024-08-08T06:54:53+00:00","dateModified":"2024-08-08T07:26:04+00:00","description":"\u638c\u63e1\u4f7f\u7528\u7d42\u7aef\u547d\u4ee4\u6aa2\u67e5Ubuntu\u7248\u672c\u7684\u6280\u5de7\u3002\u5b78\u7fd2\u9999\u6e2f\u4f3a\u670d\u5668\u7ba1\u7406\u54e1\u512a\u5316\u6548\u80fd\u548c\u5b89\u5168\u6027\u7684\u9032\u968e\u6280\u8853\u3002","breadcrumb":{"@id":"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/#breadcrumb"},"inLanguage":"zh-HK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/"]}]},{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/#primaryimage","url":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/08\/sim_blog0808a.jpg","contentUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/08\/sim_blog0808a.jpg","width":341,"height":341},{"@type":"BreadcrumbList","@id":"https:\/\/www.simcentric.com\/tc\/hong-kong-dedicated-server-tc\/how-to-check-ubuntu-version-in-terminal\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.simcentric.com\/tc\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728\u7d42\u7aef\u4e2d\u6aa2\u67e5Ubuntu\u7248\u672c\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/simcentric.com\/tc\/#website","url":"https:\/\/simcentric.com\/tc\/","name":"Simcentric Solutions","description":"","publisher":{"@id":"https:\/\/simcentric.com\/tc\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/simcentric.com\/tc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-HK"},{"@type":"Organization","@id":"https:\/\/simcentric.com\/tc\/#organization","name":"Simcentric Solutions","url":"https:\/\/simcentric.com\/tc\/","logo":{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/simcentric.com\/tc\/#\/schema\/logo\/image\/","url":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2023\/06\/sim-logo-2023.png","contentUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2023\/06\/sim-logo-2023.png","width":800,"height":222,"caption":"Simcentric Solutions"},"image":{"@id":"https:\/\/simcentric.com\/tc\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/simcentric.com\/tc\/#\/schema\/person\/2865b3454f789caf7083a203799d4a6d","name":"Felix Cheung","image":{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/secure.gravatar.com\/avatar\/836e6f2be80c47f0897198ffea03fae331dad9aaafbc988c752691eb595e0e2f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/836e6f2be80c47f0897198ffea03fae331dad9aaafbc988c752691eb595e0e2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/836e6f2be80c47f0897198ffea03fae331dad9aaafbc988c752691eb595e0e2f?s=96&d=mm&r=g","caption":"Felix Cheung"}}]}},"_links":{"self":[{"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/14405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/comments?post=14405"}],"version-history":[{"count":3,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/14405\/revisions"}],"predecessor-version":[{"id":14416,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/14405\/revisions\/14416"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/media\/14399"}],"wp:attachment":[{"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/media?parent=14405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/categories?post=14405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/tags?post=14405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}