Unix - Engineering

Q1:

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^

E None of the above

ANS:A - ^pat

Which symbol will be used with grep command to match the pattern EVOL at the beginning of the line?

Anyone please explain me.