Re: query about history management in bash

2009-12-27 Thread Alex Samad
On Mon, Dec 28, 2009 at 04:32:02AM +0530, Rajarshi Tiwari wrote: > To @Alex >> > > >couldn't you do > >unset HISTFILE > >vim > >exit > > I don't follow, but i believe you are trying to suggest that one should > temporary disable history, edit the file manually, to clean it, and then > restore.

Re: query about history management in bash

2009-12-27 Thread Rajarshi Tiwari
To @Alex >> >couldn't you do >unset HISTFILE >vim >exit I don't follow, but i believe you are trying to suggest that one should temporary disable history, edit the file manually, to clean it, and then restore. If this what you suggest, I am already doing it :-) , but looking for something that

Re: query about history management in bash

2009-12-27 Thread Alex Samad
On Sun, Dec 27, 2009 at 04:01:00PM +0100, Michelle Konzack wrote: > Ram ram Rajarshi, > > Am 2009-12-27 11:39:28, schrieb Rajarshi Tiwari: > > Dear friends, > > Consider following situation - [snip] > > NOTE: The helperprogramm to do this has not to be > executed by the current shell

Re: query about history management in bash

2009-12-27 Thread Michelle Konzack
Ram ram Rajarshi, Am 2009-12-27 11:39:28, schrieb Rajarshi Tiwari: > Dear friends, > Consider following situation - > > We write a lot commands, and make many typing errors. (e.g typed s instead > of ls, eco instead of echo and so on). These miss-typed commands are also > saved in history and cre

query about history management in bash

2009-12-26 Thread Rajarshi Tiwari
Dear friends, Consider following situation - We write a lot commands, and make many typing errors. (e.g typed s instead of ls, eco instead of echo and so on). These miss-typed commands are also saved in history and create unnecessary crowd in the HISTFILE. Is there any way to avoid this? More prec