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

Ravi Sir's Cards › AWS

grep in 4 steps

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

grep in 4 steps Ignore case, line numbers. Search a folder. Two patterns. Context around a hit.
grep in 4 steps · Download PNG
Read card text

What this card says

Why do we need it?

Ignore case, line numbers.

grep -in error app.log

What is it?

Search a folder.

grep -rn TODO /srv/app

How to do it

Two patterns.

grep -E "OOM|panic" log

Example

Context around a hit.

grep -B2 -A3 ERROR log

See all AWS revision cards