Any Bash features you'd like to see?

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Wed May 11 20:49:59 UTC 2005


On Wed, May 11, 2005 at 11:20:26PM +0300, Peter wrote:
> 
> 
> On Wed, 11 May 2005, David Thornton wrote:
> 
> >who typed what , when ( and where).
> 
> Oh, that's a good one. One thing that I would really like is to have 
> .bash_history log commands from *all* open shells for a given user. I 
> often have 4-8 shells open and the history does not reflect what I was 
> doing in all of them. The easiest way would be for bash to stat and 
> count the links to bash_history on startup. If >1 open another 
> bash_history and write to it instead.

I guess you could use '.bash_history.pid' instead of just
'.bash_history'.  Mind you, .bash_history is only written on exit.  So,
what's wrong with using shell's internal history buffer?

-- 
William Park <opengeometry-FFYn/CNdgSA at public.gmane.org>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
     http://home.eol.ca/~parkw/thinflash.html
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list