Computer Science - Unix

Exercise :: 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. :x
E. None of the above

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.