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

Ravi Sir's Cards › AWS

awk fields

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

awk fields Split lines into columns. $1 first, $NF last, -F sets sep. pattern {action} per line. Users and shells.
awk fields · Download PNG
Read card text

What this card says

Why do we need it?

Split lines into columns.

What is it?

$1 first, $NF last, -F sets sep.

How to do it

pattern {action} per line.

Example

Users and shells.

awk -F: '{print $1, $NF}' /etc/passwd

See all AWS revision cards