QuestionQ62

VerifiedEssential Commands

How do the i and a commands in the vi editor differ?

Explanation

In vi, i enters text-input mode before the current cursor position, whereas a appends text after the cursor. Oracle’s vi reference documents these commands as “insert before cursor” and “append after cursor.”

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!