Fork me on GitHub

Useful BASH setting: Ignore duplicate commands

There are many settings that make BASH even more usable. As many people doesn’t seem to know this particular parameter i post it here:

HISTCONTROL="ignoredups"

This setting in bashrc or profile makes BASH ignore duplicate commands when searching the history. It’s pretty useful if you had entered the same command several times.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Comment Spam Protection by WP-SpamFree