Warning: Undefined array key 1 in /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php on line 505

Warning: Undefined array key 2 in /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php on line 505

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php on line 557

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930
{"id":1250,"date":"2008-02-12T05:40:00","date_gmt":"2008-02-12T05:40:00","guid":{"rendered":"http:\/\/www.yogindar.com\/news\/?p=1250"},"modified":"2008-02-12T05:40:00","modified_gmt":"2008-02-12T05:40:00","slug":"vi-copy-file-to-file","status":"publish","type":"post","link":"http:\/\/blog.yogindar.org\/?p=1250","title":{"rendered":"VI COPY FILE TO FILE"},"content":{"rendered":"<\/p>\n

<\/p>\n

Here is how to copy the required number of lines from one file to another in VI editor.\u00a0 <\/span>First
use the following key combinations in the source file.<\/p>\n

Press ESCAPE<\/p>\n

Press Shift “(Shift double quotes)<\/p>\n

Press a<\/p>\n

Press the number of lines you want to copy<\/p>\n

press y followed by another y<\/p>\n

\u00a0<\/p>\n<\/p>\n

Now press ” : ” (COLON<\/place><\/city>) to get the vi prompt.<\/p>\n

Hit e “Destination file name”<\/p>\n

Once you enter the Destination file <\/p>\n

go to the line where you want the lines <\/p>\n

copied to be inserted.<\/p>\n

\u00a0<\/p>\n<\/p>\n

Press ESCAPE.<\/p>\n

Press SHIFT “(Double quotes).<\/p>\n

Press a.<\/p>\n

Press p.<\/p>\n

\u00a0<\/p>\n<\/p>\n

The lines get copied.<\/p>\n","protected":false},"excerpt":{"rendered":"

Here is how to copy the required number of lines from one file to another in VI editor.\u00a0 Firstuse the following key combinations in the source file. Press ESCAPE Press Shift “(Shift double quotes) Press a Press the number of lines you want to copy press y followed by another y \u00a0 Now press ” […]<\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1303,19,33,1304],"tags":[],"class_list":["post-1250","post","type-post","status-publish","format-standard","hentry","category-copy","category-linux","category-tips","category-vi"],"_links":{"self":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts\/1250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1250"}],"version-history":[{"count":0,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts\/1250\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1250"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}