{"id":2317,"date":"2019-05-26T01:08:33","date_gmt":"2019-05-25T17:08:33","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=2317"},"modified":"2019-05-26T01:08:34","modified_gmt":"2019-05-25T17:08:34","slug":"ed","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/ed","title":{"rendered":"ed\u547d\u4ee4 – \u6587\u672c\u7f16\u8f91"},"content":{"rendered":"\n

ed\u662fLinux\u4e2d\u529f\u80fd\u6700\u7b80\u5355\u7684\u6587\u672c\u7f16\u8f91\u7a0b\u5e8f\uff0c\u4e00\u6b21\u4ec5\u80fd\u7f16\u8f91\u4e00\u884c\u800c\u975e\u5168\u5c4f\u5e55\u65b9\u5f0f\u7684\u64cd\u4f5c\u3002<\/p>\n\n\n\n

ed\u547d\u4ee4\u5e76\u4e0d\u662f\u4e00\u4e2a\u5e38\u7528\u7684\u547d\u4ee4\uff0c\u4e00\u822c\u4f7f\u7528\u6bd4\u8f83\u591a\u7684\u662fvi \u6307\u4ee4\u3002\u4f46ed\u6587\u672c\u7f16\u8f91\u5668\u5bf9\u4e8e\u7f16\u8f91\u5927\u6587\u4ef6\u6216\u5bf9\u4e8e\u5728shell\u811a\u672c\u7a0b\u5e8f\u4e2d\u8fdb\u884c\u6587\u672c\u7f16\u8f91\u5f88\u6709\u7528\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>ed [\u53c2\u6570] <\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-G <\/td>\u63d0\u4f9b\u56de\u517c\u5bb9\u7684\u529f\u80fd <\/td><\/tr>
-p <\/td>\u6307\u5b9aed\u5728command mode\u7684\u63d0\u793a\u5b57\u7b26<\/td><\/tr>
-s <\/td>\u4e0d\u6267\u884c\u5f00\u542f\u6587\u4ef6\u65f6\u7684\u68c0\u67e5\u529f\u80fd <\/td><\/tr>
--help  <\/td>\u663e\u793a\u5e2e\u52a9\u4fe1\u606f <\/td><\/tr>
--version  <\/td>\u663e\u793a\u7248\u672c\u4fe1\u606f <\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u4ee5\u4e0b\u662f\u4e00\u4e2a Linux ed \u5b8c\u6574\u5b9e\u4f8b\u89e3\u6790\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# ed                            <\/pre>\n","protected":false},"excerpt":{"rendered":"

ed\u662fLinux\u4e2d\u529f\u80fd\u6700\u7b80\u5355\u7684\u6587\u672c\u7f16\u8f91\u7a0b\u5e8f\uff0c\u4e00\u6b21\u4ec5\u80fd\u7f16\u8f91\u4e00\u884c\u800c\u975e\u5168\u5c4f\u5e55\u65b9\u5f0f\u7684\u64cd\u4f5c\u3002 ed\u547d\u4ee4\u5e76\u4e0d\u662f\u4e00\u4e2a\u5e38\u7528\u7684\u547d […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2317"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=2317"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2317\/revisions"}],"predecessor-version":[{"id":2544,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2317\/revisions\/2544"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=2317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=2317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=2317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}