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

Ravi Sir's Cards › AWS

AWS Cloud

Script arguments

This revision card explains Script arguments. It starts from the need that $1, $2 = first, second. It describes $# = how many. The how-to section notes "$@" = all, safely. An example on the card is drop the first.

Script arguments $1, $2 = first, second. $# = how many.
Script arguments · Download PNG
Read card text

What this card says

Why do we need it?

$1, $2 = first, second.

What is it?

$# = how many.

How to do it

"$@" = all, safely.

Example

Drop the first.

shift

See all AWS revision cards