Bolejack
Wednesday, 18 September 2013
How do i assign an to ls in linux Bash?
How do i assign an to ls in linux Bash?
array=${ls -d */}
echo ${array[@]}
I have three directories: ww ee qq. i want them in an array and then print
the array.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment