Skip to content

Instantly share code, notes, and snippets.

@abrjagad
Created September 10, 2018 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abrjagad/732e36847955ef2e5d377b0e37cb7dcc to your computer and use it in GitHub Desktop.
Save abrjagad/732e36847955ef2e5d377b0e37cb7dcc to your computer and use it in GitHub Desktop.
concatenatedArray=($(ls $Dir) $(ls $AnotherDir))
Array=()
Array+=("value")
Array+=("AnotherValue")
echo ${Array[@]}
echo ${#Array[@]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment