{"id":203912,"date":"2020-11-25T14:56:27","date_gmt":"2020-11-25T06:56:27","guid":{"rendered":"http:\/\/4563.org\/?p=203912"},"modified":"2020-11-25T14:56:27","modified_gmt":"2020-11-25T06:56:27","slug":"terminal-%e6%98%be%e7%a4%ba-host-0-150-%e6%98%af%e4%bb%80%e4%b9%88%e6%84%8f%e6%80%9d%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=203912","title":{"rendered":"Terminal \u663e\u793a @host-0-150 \u662f\u4ec0\u4e48\u610f\u601d\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Terminal \u663e\u793a @host-0-150 \u662f\u4ec0\u4e48\u610f\u601d\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jmyz0455 <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>macOS \u66f4\u65b0\u65b0\u7248\u672c\u540e\uff0c\u6253\u5f00 Terminal \u4f1a\u663e\u793a [email&#160;protected]\uff0c\u4f46\u662f\u6211\u8f93\u5165 echo $HOSTNAME; echo $COMPUTERNAME \u5374\u53c8\u6ca1\u6709\u8f93\u51fa\u6587\u672c\uff0c\u8bf7\u95ee\u8fd9\u4e2a host-0-150 \u662f\u4ec0\u4e48\u610f\u601d\u5462\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>2<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4315920\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : julyclyde <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             echo $PS1                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4315921\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : jmyz0455 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @julyclyde \u8f93\u51fa %{%f%b%k%}$(build_prompt) \uff0c\u5c31\u662f\u8fd9\u4e2a\u539f\u56e0\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Terminal \u663e\u793a @host&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/203912"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=203912"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/203912\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=203912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=203912"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=203912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}