Bash Arrays Destroy, Delete, or Unset an Array


Example

To destroy, delete, or unset an array:

unset array

To destroy, delete, or unset a single array element:

unset array[10]