Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

grep two words at once?

This interview card answers: grep two words at once? Basic grep treats | as text. Use -E for alternation. ERROR or FATAL.

grep two words at once? Basic grep treats | as text. Use -E for alternation. ERROR or FATAL.
grep two words at once? · Download PNG
Read card text

What this card says

What it is

Basic grep treats | as text.

Why it matters

Use -E for alternation.

How / example

ERROR or FATAL.

grep -E 'ERROR|FATAL' app.log

See all AWS revision cards