If we need to add a particular string in multiple files at once then we can use tee command.
Eg - Let's say we need to add a date in 4 dates files at once then we would run below command :
echo "03-Apr-2019" | tee date*.txt
This will add 3rd april in all date*.txt files .
Comentarios