Any Bash features you'd like to see?

David Thornton david-FkEgs2FKm2NvBvnq28/GKQ at public.gmane.org
Wed May 11 20:58:36 UTC 2005


William Park wrote:

>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?
>
>  
>
I want to be able to archive 7 years worth of keystrokes.

It's not important to me to sort command histories by shell.

Timestamping the command would be a must.

david

-- 
Let one walk alone,
commiting no sin with few wishes,
like an elephant in the forest.
-- ghost in the shell 2: Innocence

--
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