Comment Comment by CraigJPerry You can tell your shell to ignore commands started with a space HISTCONTROL=ignorespace Or you can use HISTIGNORE to always ignore specific patterns. parent CraigJPerry 2 years ago