Computer Science - Linux

Exercise :: Linux - Section 1

26. 

What command is used to sort the lines of data in a file in alphabetical order?

A. sort - r
B. st
C. sh
D. sort
E. None of the above

Answer: Option D

Explanation:

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

27. 

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

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

Answer: Option C

Explanation:

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

28. 

What command is used with vi editor to move back to the beginning of a word?

A. w
B. e
C. a
D. b
E. None of the above

Answer: Option D

Explanation:

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

29. 

What command is used with vi editor to search a pattern in the forward direction?

A. ??
B. //
C. ?
D. /
E. None of the above

Answer: Option D

Explanation:

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

30. 

What command is used to add printing jobs to the queue?

A. lpd
B. lpr
C. lpq
D. lpc
E. None of the above

Answer: Option B

Explanation:

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