[Pkg-mc-devel] Bug#498123: Bug#498123: closed by Patrick Winnertz <winnie at debian.org> (cmdline history of parallel sessions)

Michelle Konzack linux4michelle at tamay-dogan.net
Mon Sep 22 13:58:41 UTC 2008


Am 2008-09-16 20:44:26, schrieb Baurzhan Ismagulov:
> Well, I have worse issues: my .bash_history gets truncated after it is
> about 2 MiB :) . But I'm not sure whether bash locks the file. But
> that doesn't mean this is not doable.

BaSH does not lock the file, but it read it into the memory  and  append
new things there if you now leave the bash, it is  writen  back  to  the
bash_history file.

If you realy war parallel writes from bash, you have to write a function
and put it into your .bash_login which WRITE  out  the  bash_history  in
intervals and APPEND the contents.

Please read "man bash" hot to do  this.  The  appropriated  command  are
availlable...

and of course, the function has to be executed at BaSH startup  and  put
into the bachground WITHOUT DISOWNing the process.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-mc-devel/attachments/20080922/b1bd82d0/attachment.pgp 


More information about the Pkg-mc-devel mailing list