Find all files with the extension .cfg in the /usr/local directory and execute the command sed to append the string "&" to the 10th line of each file.
find /usr/local -name '*.cfg' -exec sed -i '10s/$/ &/' {} \;