Bash * and @ Relative to Array Elements
Jump to navigation
Jump to search
Internal
- $@
- $*
- Get All Indexed Array Elements
- Get All Associative Array Values
- Get All Associative Array Keys
Overview
*
and @
are bash syntax elements that tokenize arrays. They are used to process command line argument ($*
, $@
and "$@"
), values for indexed arrays, keys and values for associative arrays, etc.