Monthly Archives: June 2010

Avoiding invalid commands in Bash history

To avoid having stuff like “ls” in my bash history, I added “ls” to the “HISTIGNORE” environment variable. However, on late nights, the result of this, and my left and right hand becoming out of sync with each other when I’m tired, is that the entry “sl”, which really doesn’t do anything, started showing up […]