471. Which symbol will be used with grep command to match the pattern pat at the end of a line ?
A. ^pat
B. $pat
C. pat$
D. pat^
✅ The correct answer is option C.
Prepare with the latest Software Engineering MCQs with answers and explanations. Free online practice for competitive exams, interviews, and university tests.