Computer Science - Linux
Computer Science - Linux
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]
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)?
- !
- $
- #
- @
26. What command is used to sort the lines of data in a file in alphabetical order?
- sort - r
- st
- sh
- sort
27. What command is used with vi editor to save file and remain in the editing mode?
- x
- q!
- :w
- :q
28. What command is used with vi editor to move back to the beginning of a word?
- w
- e
- a
- b
29. What command is used with vi editor to search a pattern in the forward direction?
- ??
- //
- ?
- /