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

Software Engineering Mcqs

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^



Share this... Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Share on Whatsapp
Whatsapp

  • IF YOU THINK THAT ABOVE POSTED MCQ IS WRONG.

  • PLEASE COMMENT BELOW WITH CORRECT ANSWER AND ITS DETAIL EXPLANATION.

  • Related Mcqs


    Leave a Reply

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