Find all files in the current directory (denoted by ~) with a type of file and a name ending in .txt, and execute the command sed to replace all instances of "red" with "blue" in each file.
`find ~ -maxdepth 1 -type f -name '*.txt' -exec sed -i 's/red/blue/g' {} \;`