Bash Scripting - Arrays
Which command removes the last element from a Bash array named
colors?colors?${#colors[@]}-1.unset colors[${#colors[@]}-1] deletes the last element from the array.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions