Bash Shell Part2
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...
asitmohanty.hashnode.dev15 min read