Unix VI Editor MCQs

This section focuses on "VI Editor" in unix. These Multiple Choice Questions (MCQ) should be practiced to improve the unix skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. Which editor is used by the UNIX system to edit files?

A. vi
B. sublime
C. notpad
D. word

View Answer


2. What is the default mode of vi editor?

A. Command mode
B. Read Mode
C. Write Mode
D. Execute Mode

View Answer


3. which mode is used for file handling and substitution?

A. Command mode
B. ex mode
C. def mode
D. Both A and B

View Answer


4. Esc key is used for?

A. switching to command mode from ex mode
B. switching to input mode from command mode
C. switching to command mode from input mode
D. switching to ex mode from input mode

View Answer


5. In vi editor ctrl-l is used to?

A. to delete one line from file
B. to save the file
C. to edit the file
D. clear the screen

View Answer


6. While entering text in input mode the data is saved in _____

A. buffer
B. disk
C. RAM
D. cache

View Answer


7. Which operator is used to show unused line in VI editior?

A. $
B. #
C. !
D. ~

View Answer


8. Which command is used to moves the cursor down one line?

A. i
B. j
C. k
D. l

View Answer


9. Which command is used to positions the cursor at the beginning of a line?

A. 0
B. !
C. |
D. Both A and C

View Answer


10. Which command is used to moves a paragraph forward?

A. (
B. [
C. {
D. }

View Answer





Discussion


* You must be logged in to add comment.