HISTCONTROL=ignoreboth not working debian lenny
Posted
by Mike
on Server Fault
See other posts from Server Fault
or by Mike
Published on 2010-03-11T06:20:19Z
Indexed on
2010/03/14
4:35 UTC
Read the original article
Hit count: 345
Can anybody confirm if by setting the the following env variables under debian lenny will make previous history entries not to be saved. GNU bash, version 3.2.39(1)-release
export HISTCONTROL=ignoreboth
export HISTSIZE=500
I have added them to my /etc/bash.bashrc
but I keep getting repeated commands.
Thanks
© Server Fault or respective owner