Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 101-500 Topic 1 Question 75 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 75
Topic #: 1
[All 101-500 Questions]

What is the difference between the i and a commands of the vi editor?

Show Suggested Answer Hide Answer
Suggested Answer: B, D

Contribute your Thoughts:

Halina
2 months ago
I'm going with B. It's the only one that makes sense to me. Although, maybe option C is about indent levels? Nah, that's too complicated for a basic vi question.
upvoted 0 times
Ivette
2 months ago
Option C is actually about starting new lines at the first character, not indent levels.
upvoted 0 times
...
Jutta
2 months ago
Yeah, B is correct. It's about inserting text before or after the cursor position.
upvoted 0 times
...
Francoise
2 months ago
I'm going with B. It's the only one that makes sense to me.
upvoted 0 times
...
...
Lavelle
2 months ago
Clearly, the answer is B. Anyone who's ever used vi knows that. If you don't know that, you might as well just use Notepad. *laughs*
upvoted 0 times
...
Albina
3 months ago
I'm pretty confident the answer is B. The i and a commands are all about cursor positioning and text insertion, not about switching modes or suspending editing.
upvoted 0 times
Louisa
1 months ago
Yep, that's correct. i and a are all about where the text is inserted.
upvoted 0 times
...
Kip
2 months ago
So, i is for inserting before and a is for inserting after, got it.
upvoted 0 times
...
Kimi
2 months ago
I think you're right, the a command inserts text after the cursor.
upvoted 0 times
...
Genevive
2 months ago
I agree, the i command inserts text before the cursor position.
upvoted 0 times
...
...
Amie
3 months ago
I was going to choose D, but now I'm second-guessing myself. The i and a commands seem like they should be about inserting and appending text, not interrupting or aborting.
upvoted 0 times
...
Yuette
3 months ago
Hmm, I was leaning towards C, but now I'm not so sure. Maybe I should double-check the vi documentation to be sure.
upvoted 0 times
Karan
1 months ago
Hmm, I was leaning towards C, but now I'm not so sure. Maybe I should double-check the vi documentation to be sure.
upvoted 0 times
...
Pearlie
2 months ago
B) i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.
upvoted 0 times
...
Shawna
2 months ago
A) i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modes automatically.
upvoted 0 times
...
...
Holley
3 months ago
I think the correct answer is B. The i command inserts text before the cursor, while the a command appends text after the cursor. The other options don't sound quite right to me.
upvoted 0 times
Henriette
2 months ago
I always get confused between i and a, but now I understand the distinction. Thanks for clarifying!
upvoted 0 times
...
Terina
3 months ago
Yes, that's correct. It's important to understand the difference between the two commands.
upvoted 0 times
...
Mozell
3 months ago
I agree, the i command inserts before the cursor and the a command appends after.
upvoted 0 times
...
...
Ilda
4 months ago
Yes, that's correct. i requires manual mode switching while a does it automatically.
upvoted 0 times
...
Lenny
4 months ago
I believe a automatically switches modes, right?
upvoted 0 times
...
Ilda
4 months ago
I think the difference is that i requires explicit mode switching.
upvoted 0 times
...

Save Cancel