Answers for "how to make a list bash"

4

how to make a list bash

#to create an array:
$ declare -a my_array
#set number of items with spaceBar seperation:
$ my_array = (item1 item2)
#set specific index item:
$ my_array[0] = item1
Posted by: Guest on July-11-2020

Code answers related to "how to make a list bash"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language