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

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

Warning: Undefined variable $in_same_cat in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Warning: Undefined variable $excluded_categories in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27
< PREVIOUS POSTUnix - Section 3

Leave A Comment?