159. Which symbol will be used with grep command to match the pattern pat at the beginning of a line ?

A. ^pat
B. $pat
C. pat$
D. pat^
✅ The correct answer is option A.

Leave a Comment

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

Scroll to Top