Stop saving bash history
$ unset HISTFILE or: $ set +o history Clear history $ history -c
$ unset HISTFILE or: $ set +o history Clear history $ history -c
rename 's/<in_re>/<out_re>/g' * Useful options: -v: List files renamed -n: Dry-run -d: Act just on the filename