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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started