Hello, until now I have been using vi to access one file at a time. I use the 'yy5' and 'p' to copy 5 lines and paste then some where else in the file. Now I need to copy 5 lines from one file and paste them into a second file.
If I'm editing the hosts file I can edit the hosts.2 file by typing :e hosts2. This takes me to the hosts2 file in vi but I can not figure how to copy 5 lines from hosts to hosts2.
Brad
If I'm editing the hosts file I can edit the hosts.2 file by typing :e hosts2. This takes me to the hosts2 file in vi but I can not figure how to copy 5 lines from hosts to hosts2.
Brad