Pavnay

 
  • Increase font size
  • Default font size
  • Decrease font size
FrançaisEnglish

[System] Delete duplicate entries from the history

Print
Système

It's always annoying, when we use often the same command, to not find it quickly in the history.
Of course, we can use the history command with a grep but there is a simpler way : delte the duplicate entries to reduce the history deep.

To delete the duplicate entries, just add the ignoredups value to the HISTIGNORE variable as :

export HISTIGNORE=ignoredups 


Comments
Add New
+/-
Write comment
Name:
Email:
 
Title:
 
:D:):(:0:shock::confused:8):lol::x:P:oops::cry:
:evil::twisted::roll::wink::!::?::idea::arrow:
 

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 

Actualités


AddThis Social Bookmark Button