{"id":531,"date":"2013-07-16T12:05:54","date_gmt":"2013-07-16T12:05:54","guid":{"rendered":"http:\/\/pingtool.org\/?p=531"},"modified":"2013-07-16T19:13:00","modified_gmt":"2013-07-16T19:13:00","slug":"generate-lines-in-vi-editor","status":"publish","type":"post","link":"https:\/\/pingtool.org\/ru\/generate-lines-in-vi-editor\/","title":{"rendered":"\u0413\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043b\u0438\u043d\u0438\u0439 \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 vi"},"content":{"rendered":"<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0445\u043e\u0436\u0438\u0445 \u043b\u0438\u043d\u0438\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 &#8212; IP \u0430\u0434\u0440\u0435\u0441\u043e\u0432, \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 DNS \u0437\u0430\u043f\u0438\u0441\u0435\u0439.<br \/>\n\u0412 \u0440\u0435\u0434\u0430\u043a\u043e\u0442\u043e\u0440\u0435 vi \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u043c\u0430\u043d\u0434\u0443:<\/p>\n<p><code> :r! for i in $(seq 1 5); do echo \"This is line \\#${i}\"; done<\/code><\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0431\u0443\u0434\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439:<br \/>\n<code><br \/>\nThis is line #1<br \/>\nThis is line #2<br \/>\nThis is line #3<br \/>\nThis is line #4<br \/>\nThis is line #5<br \/>\n<\/code><\/p>\n<p>\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u0430\u044f \u043a\u043e\u043c\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0437\u043e\u043d\u044b DNS \u0432 BIND:<\/p>\n<p><code> :r! for i in $(seq 1 5); do echo \"$i PTR host${i}.domain.com\"; done<\/code><br \/>\n<code><br \/>\n1 PTR host1.domain.com<br \/>\n2 PTR host2.domain.com<br \/>\n3 PTR host3.domain.com<br \/>\n4 PTR host4.domain.com<br \/>\n5 PTR host5.domain.com<br \/>\n<\/code><\/p>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043b\u0438\u043d\u0438\u0439 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 <strong>$(seq 1 5);<\/strong>, \u0447\u0442\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442: \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u0434\u043e \u043f\u044f\u0442\u0438.<\/p>","protected":false},"excerpt":{"rendered":"<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0445\u043e\u0436\u0438\u0445 \u043b\u0438\u043d\u0438\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 &#8212; IP \u0430\u0434\u0440\u0435\u0441\u043e\u0432, \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 DNS \u0437\u0430\u043f\u0438\u0441\u0435\u0439. \u0412 \u0440\u0435\u0434\u0430\u043a\u043e\u0442\u043e\u0440\u0435 vi \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u043c\u0430\u043d\u0434\u0443: :r! for i in $(seq 1 5); do echo &#171;This is line &hellip; <a href=\"https:\/\/pingtool.org\/ru\/generate-lines-in-vi-editor\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[12],"tags":[47],"class_list":["post-531","post","type-post","status-publish","format-standard","hentry","category-linux","tag-vi"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/posts\/531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/comments?post=531"}],"version-history":[{"count":6,"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/posts\/531\/revisions"}],"predecessor-version":[{"id":557,"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/posts\/531\/revisions\/557"}],"wp:attachment":[{"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/media?parent=531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/categories?post=531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/tags?post=531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}