Hi sorry for asking simple shell question again but my TA in school doesnt check the school forum so I never get any answer, please help me again, thanks
anyways:
I am trying to use array to store a list of file names using the Find
command, but for some reason the array fail to work in the bash used by the school, my program works on my own laptop though, so I was wondering if there's another way to do it, this is what i have:
array = ('find . -name "*.txt"
)` #this will store all the .txt files into the array
then I can access the array items and make a copies of all the files using the cat command
is there another way to do it without using an array?