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

Ravi Sir's Cards › AWS

getopts vs while/case

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

getopts vs while/case: Built in, short flags.; Hand-written loop.
getopts vs while/case · Download PNG
Read card text

What this card says

Parse

getopts

Built in, short flags.

while/case

Hand-written loop.

Key points

-v -f file, joined -vf.

Long --flags too.

Example

while getopts 'vf:' o

Use when

Small tools.

Rich CLIs.

See all AWS revision cards