[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HISTCONTROL=erasedups

From: Thilo Six
Subject: Re: HISTCONTROL=erasedups
Date: Thu, 10 May 2007 18:56:43 +0200
User-agent: Thunderbird (X11/20070403)

Chet Ramey wrote the following on 10.05.2007 05:46:


> If you want to force the history file to be completely rewritten, you
> can use `history -w' at shell exit to rewrite it.  

$ top
$ htop
$ top
$ htop
$ history
    1  top
    2  htop
    3  history
$ history -w

in new shell:
$ history
    1  top
    2  htop
    3  history -w
    4  top
    5  htop
    6  history -w
    7  history

> There is, unfortunately,
> currently no easy way to force the `rewrite-at-exit' behavior.

:( ic

I have tried this trap thingy also, but unfortunatly it doesn´t work either
it seems.

> Chet

OK then thank you and i would like to open a wishlist bug for it.  ;)

bye Thilo
i am on Ubuntu 2.6 KDE
- some friend of mine

gpg key: 0x4A411E09

reply via email to

[Prev in Thread] Current Thread [Next in Thread]