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

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

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

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. /

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

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    eighteen + two =