Vidyalelo
Computer Science · Q694

Linux

Engineering and GATE · Computer Science · question 694

Q694

What will be printed for the command below? grep –c “^echo” abc

A.
The count of lines that do not contain the pattern echo in file abc
B.
The count of lines which begin with the pattern echo in file abc
Answer
C.
The count of lines that ends with the pattern echo in file abc
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board