Computer Science - Unix - Discussion

Discussion Forum : Unix - Section 1 (Q.No. 1)
1.
Which symbol will be used with grep command to match the pattern pat at the beginning of a line?
^pat
$pat
pat$
pat^
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
12 comments Page 2 of 2.

Reddy said:   1 decade ago
^ used from starting in the file.
(1)

Anpt said:   1 decade ago
Echo "hello world" | grep "^he".
(1)


Post your comments here:

Your comments will be displayed after verification.