Bash Shell Part2
Oct 26, 2025 · 15 min read · let’s begin Arrays in Shell We initialize an empty array in Shell with (). See the below example where we have created 3 empty arrays. #!/bin/bash # Initialize empty arrays NUMBERS=() STRINGS=() NAMES=() ## See below, += is to append element in the...
Join discussion





