Solved

Given a File Called Birthdays Containing Lines Like:   YYYY-MM-DD Name

Question 121

Multiple Choice

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?


A) grep '[56]' birthdays
B) grep 05?6? birthdays
C) grep '[0-9]*-0[56]-' birthdays
D) grep 06 birthdays | grep 05

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents