Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Eliminate duplicate shell commands from history file' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Eliminate duplicate shell commands from history file
Authored by: roast on Jul 18, '03 11:21:18AM

If you're using bash as your shell, then in ~/.bash_profile and/or ~/.bashrc, put

export HISTCONTROL=ignoredups



[ Reply to This | # ]