Vi Editor Question:
Download Questions PDF

What is the difference between lettered buffer and temporary buffer in Vi Editor?

Answer:

Temporary Buffer

Deleted or copied text goes into a temporary unnamed
buffer. The contents of the temporary buffer may be
retrieved by using the p or P commands.

Lettered Buffers

There are 26 lettered buffers (a-z). Contents of a lettered
buffer are saved until you copy or delete more characters
into it, or until you quit your current vi session.

eg.
From Command Mode

"ayy Copy (yank) a line into buffer letter "a"
"ap Put contents of lettered buffer a below the
current line

Download Vi Editor Interview Questions And Answers PDF

Previous QuestionNext Question
Which command is used to replace many characters in Vi Editor?what are the different modes in vi editor?