KerbyServer

  • kerby's tech notes
  • kerbyserver.net
  • epkphoto.com
Home › Blogs › EPKPhoto's blog

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

  • bash
  • Debian
  • Fedora
  • Ubuntu
  • EPKPhoto's blog
  • Login to post comments

Syndicate

Syndicate content

User login

  • Request new password
  • kerby's tech notes
  • kerbyserver.net
  • epkphoto.com

Content © Eric Kerby