alwaysInBeta Stable software is for the weak

HISTCONTROL date: 2015-05-17 01:30:26+00:00 categories: - Linux tags: - bash - shell

In BASH, setting HISTCONTROL lets you have your command history skip repeat entries or commands that start with a space. To have both, my .profile now contains


export HISTCONTROL=ignoreboth

See http://wiki.bash-hackers.org/syntax/shellvars#histcontrol