logoalt Hacker News

linuxhackermantoday at 8:44 AM0 repliesview on HN

As I mention in the post:

>One way to avoid this is to prevent the command from being written to history. Bash has a configuration variable named HISTCONTROL, which when set to include ignorespace prevents commands prefixed with whitespace from being saved in history.