I am using Fedora 18. A long time ago someone asked for a way to stop repeat commands like clear, ls -aFl, and others from going into .bash_history. Can someone please tell me what the command was. Thanks Roger
On 03/31/13 09:12, Roger wrote:
I am using Fedora 18. A long time ago someone asked for a way to stop repeat commands like clear, ls -aFl, and others from going into .bash_history. Can someone please tell me what the command was. Thanks Roger
I think you are looking for the environment variable
HISTCONTROL=ignoredups
On 03/31/13 09:23, Ed Greshko wrote:
On 03/31/13 09:12, Roger wrote:
I am using Fedora 18. A long time ago someone asked for a way to stop repeat commands like clear, ls -aFl, and others from going into .bash_history. Can someone please tell me what the command was. Thanks Roger
I think you are looking for the environment variable
HISTCONTROL=ignoredups
Or maybe you want HISTCONTROL=erasedups