Problem Statement
What does the grep command do?
Explanation
grep stands for 'global regular expression print'. It searches for specific patterns of text within one or more files.
It is often used in pipelines to filter command output.
Code Solution
SolutionRead Only
grep 'error' app.log
Practice Sets
This question appears in the following practice sets: