Which command would you use to output the lines belonging to all people listed whose birthday is in May or June?

Given a file called birthdays containing lines like: Which command would you use to output
the lines belonging to all people listed whose birthday is in May or June?

Given a file called birthdays containing lines like: Which command would you use to output
the lines belonging to all people listed whose birthday is in May or June?

A.
grep ‘[0-9]*-0[56]-‘ birthdays

B.
grep 05?6? birthdays

C.
grep ‘[56]’ birthdays

D.
grep 06 birthdays | grep 05



Leave a Reply 0

Your email address will not be published. Required fields are marked *