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

Ravi Sir's Cards › AWS

grep vs grep -E

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

grep vs grep -E: Basic regex.; Extended regex.
grep vs grep -E · Download PNG
Read card text

What this card says

Regex type

grep

Basic regex.

grep -E

Extended regex.

Key points

+ ? and OR need backslashes.

+ ? OR and {n} work directly.

Example

grep 'cat\(s\)\?' f

Use when

Simple words.

Patterns with OR.

See all AWS revision cards