capturing bash history
nigel@turbo10.com
nigel at turbo10.com
Tue Jun 12 15:47:20 BST 2007
Thanks for the learned replies.
I'm going to give this a try and see if the performance is OK:
PROMPT_COMMAND='history | tail -n 1 | /path/to/local_pperl_sensor.pl'
If not, the fallback is to go for interleaving the history file and slurping it in periodically.
Thanks for your help.
NIge
>
>> On 12 Jun 2007, at 13:28, Bob Walker wrote:
>>
>> This I guess:
>>
>> http://blog.unixdaemon.net/cgi-bin/blosxom.pl/geekstuff/twitter_and_bash_bad_ideas.html
>>
>
> sorry having a bad day/week/month.
> its the future. why am i still compiling kernels?
> bob mutters.
>
> --
> Bob Walker
> http://london.randomness.org.uk/
> For great beery Justice!
>
More information about the london.pm
mailing list