LPI
010-100 · Question #61
010-100 Question #61: Real Exam Question with Answer & Explanation
Sign in or unlock 010-100 to reveal the answer and full explanation for question #61. The question stem and answer options stay visible for context.
Question
Given a file called birthdays containing lines like: YYYY-MM-DD Name 1983-06-02 Tim 1995-12-17 Sue Which command would you use to output the lines belonging to all people listed whose birthday is in May or June?
Options
- Agrep '[56]' birthdays
- Bgrep 05?6? birthdays
- Cgrep '[0-9]*-0[56]-' birthdays
- Dgrep 06 birthdays | grep 05
Unlock 010-100 to see the answer
You've previewed enough free 010-100 questions. Unlock 010-100 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.