Dynatrace Interview Question

What does the grep command do?