Question: Answer the multiple choice questions PROBLEM 5: UNIX Editor 1. Which one of the following statement is not true? a) vim editor is the improved

Answer the multiple choice questions

PROBLEM 5: UNIX Editor

1. Which one of the following statement is not true?

a) vim editor is the improved version of vi editor

b) vi editor commands are not case sensitive

c) vi editor has two modes of operation: command mode and insert mode

d) vi stands for visual editor

Answer:

2. Which command is used to close the vi editor?

a) q

b) wq

c) both q and wq

d) none of the mentioned

Answer:

3. In vi editor, the key combination CTRL+f

a) moves screen down one page

b) moves screen up one page

c) moves screen up one line

d) moves screen down one line

Answer:

4. Which vi editor command copies the current line of the file?

a) yy

b) yw

c) yc

d) none of the mentioned

Answer:

5. Which command is used to delete the character before the cursor location in vi editor?

a) X

b) x

c) D

d) d

Answer:

6. Which one of the following statement is true?

a) autoindentation is not possible in vi editor

b) autoindentation can be set using the command :set ai

c) autoindentation can be set using the command :set noai

d) autoindentation is set by default in vi editor

Answer:

7. Which command searches the string in file opened in vi editor?

a) / or ?

b) f or F

c) t or T

d) none of the mentioned

Answer:

8. In vi editor, which command reads the content of another file?

a) read

b) r

c) ex

d) none of the mentioned

Answer:

9. Which command shows all the abbreviations in vi editor?

a) ab

b) abb

c) show

d) none of the mentioned

Answer:

10. Which command sets the number for all lines?

a) :set li

b) :set ln

c) :set nu

d) :set nl

Answer:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!