nerdexam
Oracle

1Z0-409 · Question #4

Which command would help you identify and count how many lines have the letter "w" and the letters (together) in the words.txt file?

The correct answer is B. grep w words.txt | grep is | wc -l. See the full explanation below for the reasoning.

Question

Which command would help you identify and count how many lines have the letter "w" and the letters (together) in the words.txt file?

Options

  • Agrep 'w' 'is' words.txt | wc -l
  • Bgrep w words.txt | grep is | wc -l
  • Cgrep w words.txt | grep is | wc -c
  • Dgrep '.w' '.is' words.txt | wc -l

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    79% (23)
  • C
    7% (2)
  • D
    10% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice