Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
 
PREVIOUS NEXT
Tagged: #list #bash
ADD COMMENT
Topic
Name
6+3 =