Limiting .bash_history inputs
Ed Greshko
Ed.Greshko at greshko.com
Sun Mar 31 01:23:59 UTC 2013
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
--
>From now on, at least during winter time, Im going to blame all spelling an grammar erros on the cat sitting on my chest every time I sit down at the computer....
More information about the users
mailing list