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.

Ankit Gupta said:   1 decade ago
sign^ is used to search from the end.

^sign is used to search from the beginning.

Dheeaj said:   1 decade ago
^sign is used to search from the begining.


Post your comments here:

Your comments will be displayed after verification.