Language Selection

English French German Italian Portuguese Spanish

Bash HISTCONTROL

Filed under
HowTos

I happened to come across Linux Tips: take control of your bash_history. This explains that setting "export HISTCONTROL=ignoreboth" causes Bash not to store duplicate commands in history. For example, if you are checking "ps" waiting for some process to end:

ps -e | grep foo

and keep pressing up arrow every few seconds to repeat it, you'll end up with a long list of those in your history if this isn't set. If it is set, you get only the last.

Actually there's much more to this than that little post exlained.

Full Story.

More in Tux Machines

Ubuntu MATE 15.04 Vivid Vervet Beta 1 Released, Ubuntu MATE Is Now Official Flavor


ubuntu 15.04 beta released with official release for MATE

Ubuntu 15.04 Vivid Vervet MATE Beta 1 released today with other flavors of Ubuntu like KDE, Xfce, LXDE and GNOME desktop environment. Although, as usual Ubuntu unity has not taken part in Beta release. And first time Ubuntu MATE is an official releaed.
 

Read at LinuxAndUbuntu