Do a 'man history' and you'll get everything under the sun you can tweak as far as history is <br>concerned.<br><br>To increase the history size tweak the HISTSIZE, HISTFILESIZE variables.<br>To change the history file per new shell you can dynamically change HISTFILE.
<br>Say put a command to create a temporary file in one of the login scripts (.bashrc):<br><br>export HISTFILE="$HOME/.bash_history_$$"<br><br>which appends the PID of the shell to the name, and then when you logout 
<br>merge the history file by putting in .bash_logout<br><br>history -w<br>cat $HISTFILE >> .bash_history<br><br>Now as far as the permissions are concered I am lacking imagination how to do <br>that. I can't think how the same user can prevent himself from viewing one of his
<br>files just because a different shell created it.<br><br><br>Filippos<br><br><div><span class="gmail_quote">On 5/12/06, <b class="gmail_sendername">Ambrogio</b> <<a href="mailto:fn050202@flashnet.it">fn050202@flashnet.it
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br><br>I would like to have my shells to be compliant to those things.
<br><br>1. A large number of slot for history so I don't lose command.<br>2. Each shell has proper history, so command issued in one shell are not<br>viewed on others<br>3. But when shell is closed, commands are appended to history files, and
<br>not overwritten<br><br>Is this possible?<br>Where ca I act to change default behavior of shell history?<br><br>Tnx to all<br> Ambrogio<br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com
</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br>