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...

Pad and track repair is often necessary. Why?

What will be an ideal response?

Trades & Technology

While having a discussion, Technician A says that accidental contamination of the brake hydraulic system with oil can cause serious damage to the rubber parts in some brake systems. Technician B says that accidental contamination with transmission fluid is what can cause this damage. Who is correct?

A. A only B. B only C. Both A and B D. Neither A nor B

Trades & Technology

(a) As explained in Sec. 10.10, a ternary alloy may have a ternary eutectic point, at which four phases may coexist. Describe the nature of these four phases. How many degrees of freedom are there when the four phases coexist in a ternary alloy?    What is the meaning of this?

(b) A ternary alloy may also have a three?phase field. How many degrees of freedom will there be in the three?phase field? Explain the significance of this number of degrees of freedom. (c) In a ternary alloy a single?phase field may also occur. How many degrees of freedom will it contain?

Trades & Technology

____ are called depletion mode devices.

A. P-channel JFETs B. P-type units with P channels C. N-channel JFETs D. N-type units with N channels

Trades & Technology