replace every letter in a string bash code example Example: bash replace substring echo [string] | sed "s/[original]/[target]/g"