How is "copy and paste" and "cut and paste" performed in vi?

What will be an ideal response?


You can use the yy command in vi to copy a specified number of lines from a file and place them on the clipboard. To cut the lines from the file and store them on the clipboard, use the dd command. After you use the dd or yy commands,you can use the p command to paste the contents in the clipboard to another location in the file.

Trades & Technology

You might also like to view...

_____ occurs when the weld pool shrinks as it cools and the bead becomes concave.? ?  

Fill in the blank(s) with the appropriate word(s).

Trades & Technology

Which of the following statements is true?

A. In an isobaric system, no flow work can be added or removed, because flow work is equal to PAv and in an isobaric system P=0. B. In a closed system, no flow work is added or removed, because no material is entering or leaving the system. C. In applying the equation W_EC= -??PdV, the P always stands for the pressure inside the system. D. In applying the equation W_EC= -??PdV, the P always stands for the pressure outside the system. E. None of the above are true.

Trades & Technology

The _____, often referred to as the interaxle differential, allows the front and rear wheels to turn at different speeds and with different amounts of torque.

A. open differential B. rear differential C. center differential D. front differential

Trades & Technology

A four-cylinder engine makes power every _______ degrees of crankshaft rotation.

Fill in the blank(s) with the appropriate word(s).

Trades & Technology