find&replace text with bash on CENTOS/RHEL

You can find and replace text on one or multiple file at once using sed RHEL command   sed -i ‘s/TEXT-TO-FIND/REPLACE-WITH/g’ filename.txt   Find and replace text on multiple files with .txt extention sed -i ‘s/TEXT-TO-FIND/REPLACE-WITH/g’ *.txt Replace┬áTEXT-TO-FIND and REPLACE-WITH with the text you’re looking for and its replacment Example: ┬ásed -i ‘s/thursday/friday/g’ weekdays.txt The …