Making bash ignore duplicates
EPKPhoto — 26 July 2007 - 7:49pm
This is a quick one, to make Fedora systems act like the Debian and Ubuntu's default of not putting duplicate commands in ~/.bash_history, add the following line to /etc/profile:
HISTCONTROL=ignoredups
- EPKPhoto's blog
- Login to post comments