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

Ravi Sir's Cards › AWS

AWS Cloud

Parameter expansion

This revision card explains Parameter expansion. It starts from the need that default if empty. It describes length. The how-to section notes cut suffix. An example on the card is replace.

Parameter expansion Default if empty. Length. Cut suffix. Replace.
Parameter expansion · Download PNG
Read card text

What this card says

Why do we need it?

Default if empty.

${env:-dev}

What is it?

Length.

${#name}

How to do it

Cut suffix.

${file%.log}

Example

Replace.

${s//a/b}

See all AWS revision cards