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