Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash arrays

#!/bin/bash

a=()
b=("reason" "logic" "aspect" "ethic")
echo ${b[2]}
Source by hakin9.org #
 
PREVIOUS NEXT
Tagged: #bash #arrays
ADD COMMENT
Topic
Name
5+8 =