sed replace multiple lines in a file code example Example: sed replace in multiple file sed -i 's/abc/xyz/g' xaa1 xab1