B. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.
In the vi editor, the "i" command is used to enter the insert mode, which allows you to insert text before the current cursor position. When you are in insert mode, any text you type will be added at the location of the cursor.
On the other hand, the "a" command is used to enter the append mode, which allows you to insert text after the cursor position. When you are in append mode, any text you type will be added immediately after the cursor.
Here's a summary of the difference between the "i" and "a" commands in vi:
"i": Enters insert mode and allows inserting text before the current cursor position.
"a": Enters append mode and allows inserting text after the current cursor position.
By using these commands, you can efficiently edit and modify text within the vi editor.
This section is not available anymore. Please use the main Exam Page.LFCS Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Strib
11 months agopassnow
3 years, 1 month agoBorbz
3 years, 2 months ago