# global search and replace find test/ -type f | xargs sed -i .old -e "s/test/example/g" # display control/non-printable characters sed -n 'l' input.txt # backup a file before changing it by adding a suffix sed