So I'm studying for an exam coming up and this was a question asked that I tried  doing but failed to do sofile name: Celebsinside the file:BeyonceBrittneyKevinGeorgeAnd I have to create code using the read and while commands. Here is what I have so far, but I think it's incorrect since it won't run in my shell script.I was also told that the file name will not always be Names and I don't know how to input any random file into the code. I also have to use the unknown file name, with the names of the people inside the file, create an array and have it printed out in the terminal.So I also need help printing it out!     list= find -name Celebs -type f #if its an unknown file name this method won't work    start=0 #position of the empty array    declare -a People    while read -r line      do   People[$start]=$line #lines read to be stored in the array    ((start++))  done<$list
Read data from unknown file name into an array?
shell;array;read