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?
Discussion:
12 comments Page 2 of 2.
Alia said:
10 years ago
Echo "pattern" | grep "^pat" is used to search from starting.
Echo "pattern" | grep "rn$" is used to search from end.
Echo "pattern" | grep "rn$" is used to search from end.
Ashok said:
3 years ago
Which symbol will be used with grep command to match the pattern EVOL at the beginning of the line?
Anyone please explain me.
Anyone please explain me.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers