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

Ravi Sir's Cards › AWS

getopts in 4 steps

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

getopts in 4 steps List flags; colon = needs value. Loop with while. case on the letter. Value is in OPTARG.
getopts in 4 steps · Download PNG
Read card text

What this card says

Why do we need it?

List flags; colon = needs value.

What is it?

Loop with while.

while getopts 'vf:' o; do

How to do it

case on the letter.

Example

Value is in OPTARG.

See all AWS revision cards