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

Ravi Sir's Cards › AWS

awk in 4 steps

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

awk in 4 steps Print a column. Set separator. Filter rows. Sum at END.
awk in 4 steps · Download PNG
Read card text

What this card says

Why do we need it?

Print a column.

awk '{print $1}' f

What is it?

Set separator.

awk -F, '{print $2}' f.csv

How to do it

Filter rows.

awk '$3>100' f

Example

Sum at END.

awk '{s+=$3}END{print s}' f

See all AWS revision cards