how to use sed to replace text in multiple files code example Example: sed replace in multiple file sed -i 's/abc/xyz/g' xaa1 xab1