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

Ravi Sir's Cards › AWS

AWS Cloud

"$@" vs "$*"?

This interview card answers: "$@" vs "$*"? "$@" keeps each argument separate. "$*" joins them into one. The card’s suggested next step is to use "$@" almost always.

"$@" versus "$*": "$@" preserves separate arguments; "$*" joins them into one string.
"$@" vs "$*"? · Download PNG
Read card text

What this card says

What it is

"$@" keeps each argument separate.

Why it matters

"$*" joins them into one.

How / example

Use "$@" almost always.

See all AWS revision cards