vi Editor on Unix related Questions and Answers - Page 2

Question 11 : __ and __ commands works in a reverse manner as f and t.
1. F, T
2. tf, ft
3. z, x
4. ff, tt
View Answer   Discuss with Members

Question 12 : t command positions the cursor a single character before the occurrence.
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 13 : For moving the cursor forward to the first occurrence of a character, __ is used.
1. d
2. t
3. f
4. n
View Answer   Discuss with Members

Question 14 : For searching a character, ___ and ___ are used.
1. f, t
2. n, w
3. e, d
4. k, n
View Answer   Discuss with Members

Question 15 : Which of the following is an invalid command?
1. :r file01
2. :e file01
3. :e#
4. :w # file01
View Answer   Discuss with Members

Question 16 : To append contents of buffer to file01, we can use __________
1. : w >> file01
2. :r > file01
3. :w > file01
4. :r >> file01
View Answer   Discuss with Members

Question 17 : vi used ___ to enter control characters.
1. ctrl-w
2. ctrl-v
3. ctrl-d
4. esc
View Answer   Discuss with Members

Question 18 : For restoring the contents of numbered buffers efficiently, ___ command is used.
1. .
2. $
3. :nb
4. :q
View Answer   Discuss with Members

Question 19 : To remove all other windows except the current one, which of the following command is used?
1. :on
2. :new
3. :n
4. :r
View Answer   Discuss with Members

Question 20 : To create a new window, ____ can be used.
1. :sp
2. :new
3. :n
4. :r
View Answer   Discuss with Members


View 11 - 20 of 38 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter