sed find replace multiple files code example
Example 1: How to replace a string in multiple files in linux command line
cd /path/to/your/folder
sed -i 's/foo/bar/g' *
Example 2: sed replace in multiple file
sed -i 's/abc/xyz/g' xaa1 xab1
cd /path/to/your/folder
sed -i 's/foo/bar/g' *
sed -i 's/abc/xyz/g' xaa1 xab1