Here is how to copy the required number
of lines from one file to another in
VI editor. First use the following
key combinations in the source file.
Press Shift "(Shift double quotes)
Press the number of lines you want to copy
press y followed by another y
Now press " : " (COLON) to get the vi prompt.
Hit e "Destination file name"
Once you enter the Destination file
go to the line where you want the lines
copied to be inserted.
Press SHIFT "(Double quotes).
The lines get copied.
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into