Ravi Sir's Cards › AWS (मराठी)
Associative arrays
या revision card मध्ये “Associative arrays” हा मुद्दा आहे. आधी declare. Key set. कसं करायचं आणि उदाहरण खाली card text मध्ये दिलं आहे.
कार्ड मजकूर वाचा
या कार्डवर काय आहे
हे का लागतं?
आधी declare.
declare -A port
हे काय आहे?
Key set.
port[web]=80
कसं करायचं?
Key वाचा.
${port[web]}
उदाहरण
सगळ्या keys.
${!port[@]}