Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get element by index bash

echo ${my_array[2]}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #element #index #bash
ADD COMMENT
Topic
Name
6+2 =