how to place a string in an echo linux code example Example: bash replace substring echo [string] | sed "s/[original]/[target]/g"