Dynatrace interview question

What does the grep command do?