SyntaxFix
Write A Post
Hire A Developer
Questions
This might work for you:
OIFS=$IFS; IFS=$'\n'; array=($(ls -ls)); IFS=$OIFS; echo "${array[1]}"