{"id":20,"date":"2014-02-15T19:51:22","date_gmt":"2014-02-15T11:51:22","guid":{"rendered":"http:\/\/gnonstop.linkpc.net\/~gordon\/?p=20"},"modified":"2025-08-24T22:09:47","modified_gmt":"2025-08-24T14:09:47","slug":"%e5%8f%96%e5%be%97%e4%bd%a0%e7%9a%84-ubuntu-%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/guerilla.ddns.net\/wp\/?p=20","title":{"rendered":"\u53d6\u5f97\u4f60\u7684 linux \u7248\u672c"},"content":{"rendered":"<p>Get your Linux version:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">neofetch<\/code><\/pre>\n<p>or<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">lsb_release -a<\/code><\/pre>\n<p>or<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat \/etc\/os-release<\/code><\/pre>\n<p>or<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat \/etc\/issue<\/code><\/pre>\n<p>or<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat \/proc\/version<\/code><\/pre>\n<p>or<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">hostnamectl<\/code><\/pre>\n<p>or<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">uname -r<\/code><\/pre>\n<p>&nbsp;<br \/>\n\u53e6\u5916\uff0c\u4ea6\u53ef\u7528\u6b64\u547d\u4ee4\u5f97\u5230\u66f4\u591a\u8cc7\u8a0a<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">uname -a<\/code><\/pre>\n<ol>\n<li>Kernel Name<\/li>\n<li>Network node hostname<\/li>\n<li>Kernal Release<\/li>\n<li>Kernal Version<\/li>\n<li>Machine Hardware name<\/li>\n<li>Processor type<\/li>\n<li>Hardware platform<\/li>\n<li>Operating System<\/li>\n<\/ol>\n<p>Machine Hardware name \u6307\u51fa<strong>\u7cfb\u7d71\u662f\u8dd1 32 \u4f4d\u5143 (&#8220;i686&#8221; \u6216 &#8220;i386&#8221;) \u9084\u662f\u8dd1 64 \u4f4d\u5143 (&#8220;x86_64&#8221;)<\/strong>\u3002<br \/>\n\u53e6\u5916 Processor type \u548c Hardware platform \u7686\u6709\u53ef\u80fd\u70ba 32 \u4f4d\u5143\u6216\u662f 64 \u4f4d\u5143\u3002<br \/>\n&nbsp;<br \/>\n\u4e5f\u53ef\u4ee5\u53ea\u8981\u5217\u51fa Machine Hardware name<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">uname -m<\/code><\/pre>\n<p>&nbsp;<br \/>\n\u53e6\u5916\u9084\u6709\u5e7e\u500b\u985e\u4f3c uname -m \u7684\u6307\u4ee4\u70ba<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">arch<\/code><\/pre>\n<pre><code class=\"language-bash\" data-line=\"\">lscpu<\/code><\/pre>\n<pre><code class=\"language-bash\" data-line=\"\">file \/sbin\/init<\/code><\/pre>\n<p>&nbsp;<br \/>\n\u5982\u679c\u5f97\u5230\u7684\u662f \/sbin\/init: symbolic link to \/lib\/systemd\/systemd<br \/>\n\u90a3\u5c31\u6539\u4e0b<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">file \/lib\/systemd\/systemd<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<br \/>\nsource: <a href=\"https:\/\/www.cyberciti.biz\/faq\/how-to-check-os-version-in-linux-command-line\/\" rel=\"noopener\" target=\"_blank\"><i>How to check os version in Linux command line<\/i><\/a><br \/>\n&nbsp;<\/p>\n<p>#ubuntu #fedora #mint #opensuse #version<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Get your Linux version: neofetch or lsb_release -a or c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[179],"tags":[63],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-infotech","tag-linux"],"_links":{"self":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20"}],"version-history":[{"count":16,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions"}],"predecessor-version":[{"id":3459,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions\/3459"}],"wp:attachment":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}