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

Correct Answer: D. sort
Advertisement

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

Correct Answer: C. :w
Advertisement

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

Correct Answer: D. b
Advertisement

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

Correct Answer: D. /
Advertisement

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

Correct Answer: B. lpr
Advertisement
< PREVIOUS POSTUnix - Section 3

Leave A Comment?