Computer Science - Linux

Computer Science - Linux
21. What command is used to display the characteristics of a process?
  • au
  • ps
  • du
  • pid
Show Answer
22. What command is used to list the files chap0l, chap02 and chap04?
  • ls chap*
  • ls chap[124]
  • ls - x chap0[124]
  • ls chap0[124]
Show Answer
23. What command is used with vi editor to replace text from cursor to right
  • S
  • s
  • R
  • r
Show Answer
24. What sign is used to back up over typing errors in vi?
  • !
  • $
  • #
  • @
Show Answer
25. What sign is used to erase or kill an entire line you have typed and start you are on a new line (but not display a new prompt)?
  • !
  • $
  • #
  • @
Show Answer
26. What command is used to sort the lines of data in a file in alphabetical order?
  • sort - r
  • st
  • sh
  • sort
Show Answer
27. What command is used with vi editor to save file and remain in the editing mode?
  • x
  • q!
  • :w
  • :q
Show Answer
28. What command is used with vi editor to move back to the beginning of a word?
  • w
  • e
  • a
  • b
Show Answer
29. What command is used with vi editor to search a pattern in the forward direction?
  • ??
  • //
  • ?
  • /
Show Answer
30. What command is used to add printing jobs to the queue?
  • lpd
  • lpr
  • lpq
  • lpc
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test