{"id":236,"date":"2012-10-06T09:09:14","date_gmt":"2012-10-06T09:09:14","guid":{"rendered":"https:\/\/shan.info\/new\/debian-%e4%b8%8b%e9%80%9a%e8%bf%87shell%e8%8e%b7%e5%8f%96%e7%bd%91%e5%8d%a1%e7%9a%84ip%e5%9c%b0%e5%9d%80%e5%92%8cmac%e5%9c%b0%e5%9d%80\/"},"modified":"2012-10-06T09:09:14","modified_gmt":"2012-10-06T09:09:14","slug":"debian-%e4%b8%8b%e9%80%9a%e8%bf%87shell%e8%8e%b7%e5%8f%96%e7%bd%91%e5%8d%a1%e7%9a%84ip%e5%9c%b0%e5%9d%80%e5%92%8cmac%e5%9c%b0%e5%9d%80","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/debian-%e4%b8%8b%e9%80%9a%e8%bf%87shell%e8%8e%b7%e5%8f%96%e7%bd%91%e5%8d%a1%e7%9a%84ip%e5%9c%b0%e5%9d%80%e5%92%8cmac%e5%9c%b0%e5%9d%80\/","title":{"rendered":"debian \u4e0b\u901a\u8fc7shell\u83b7\u53d6\u7f51\u5361\u7684ip\u5730\u5740\u548cmac\u5730\u5740"},"content":{"rendered":"<p><span style=\"color: #333333; font-family: Arial; font-size: 14px; line-height: 26px; text-align: left;\">ip=`ifconfig eth0 | grep &#8220;inet addr&#8221; | awk -F: &#8216;{print $2}&#8217; | awk &#8216;{print $1}&#8217;`<\/span><br style=\"color: #333333; font-family: Arial; font-size: 14px; line-height: 26px; text-align: left;\" \/><span style=\"color: #333333; font-family: Arial; font-size: 14px; line-height: 26px; text-align: left;\">mac=`ifconfig | grep HWaddr | awk -F&#8221; &#8221; &#8216;{print $5}&#8217;`<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ip=`ifconfig eth0 | grep &#8220;inet addr&#8221; | awk -F: &#8216;{print $2}&#8217; | awk &#8216;{print $1}&#8217;`mac=`ifconfig | grep HWaddr | awk -F&#8221; &#8221; &#8216;{print $5}&#8217;`<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"class_list":["post-236","post","type-post","status-publish","format-standard","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=236"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/236\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}