I intend to find the path/full location of a file(filename given by user thru "read filenme") using "find" or any other command and then store it's output in a variable for some other processing.
But struggling to put all things together (i.e finding the fully qualified location of that file and then storing the result in a variable).
/ is an example - maybe you want to limit your search by starting at another entry directory. I only get the filenames back I have submitted via read. Not sure what you put in. Limit the find.
You can also try it with the "locate" command to be faster.