sed on more than one file code example Example: sed multiple files for i in xa*; do sed -i 's/asd/dfg/g' $i done