x=$(find . -name \"*.txt\") echo $x
if I run the above piece of code in Bash shell, what I get is a string containing several file names separated
find -xdev -type f -name *.txt -exec ls -l {} \;
This will list the files and give details about attributes.