Unix – Section 3

26. Which command is used with vi editor to save file and remain in the editing mode?

A. :q
B. :w
C. q!
D. 😡
E. None of the above

Correct Answer: B. :w

27. You can append to a file instead of overwriting by using the

A. > symbols
B. >> symbols
C. < symbols
D. << symbols
E. None of the above

Correct Answer: B. >> symbols

28. The [line number G] key allows you

A. to move cursor left by one position
B. to move cursor right by one position
C. to move cursor down by one line
D. to move cursor to the beginning of the line specified by the number
E. None of the above

Correct Answer: D. to move cursor to the beginning of the line specified by the number

29. Which of the following commands is used to have a two-way communication with any person who is currently logged in?

A. mail
B. mesg
C. write
D. grep
E. None of the above

Correct Answer: C. write

30. Which command is used with vi editor to move the cursor to the left?

A. i
B. j
C. k
D. h
E. None of the above

Correct Answer: D. h

Leave A Comment?

5 × 3 =