In the vi editor, which command allows you to add text at the end of the current line?

Basic of linux unix MCQs for PPSC, FPSC, NTS, and Pakistan government job tests. Select an option below, then read the explanation.

PPSCFPSCNTSPakistan govt jobs
Subject
Basic of linux unixsoftware-engineering-mcqs › basic-of-linux-unix
Published
6 Apr 2019
Last updated
28 May 2026

Browse all Basic of linux unix MCQs

Choose the correct answer

Explanation

In vi, the command 'A' moves the cursor to the end of the line and switches to insert mode, enabling you to append text. The other commands serve different purposes: 'a' appends after the cursor position, 'i' inserts before the cursor, and 'I' inserts at the beginning of the line.

PakQuizHub — free MCQs and past papers for Pakistan government job tests. Content is for educational practice only.