Question discussion

Grep command is used to:

3711Medium DSSSB TGT Computer Science 0 replies 2 views
0

Grep command is used to:

  • Achange the case of alphabets
  • Bsearch for a specific pattern from a specified file and display those lines containing the pattern
  • Ccut the columns/fields of a specified file
  • Dredirect the output of one command to another command
Correct answer: B

Explanation

The grep command searches for a pattern in a file and displays the lines that contain it.

Discussion 0

Nobody has replied yet. Start the discussion!