turn off history bash mac code example Example 1: turn off history bash mac set -o history Example 2: turn off history bash mac set +o history