.history$$ files for ksh (was Re: Questions from a new user (SUMMARY))
Lenny Tropiano
lenny at icus.UUCP
Sat Aug 13 08:45:36 AEST 1988
In article <226 at ssbn.WLK.COM> bill at ssbn.UUCP (Bill Kennedy) writes:
|>In article <11300001 at osiris.cso.uiuc.edu> hood at osiris.cso.uiuc.edu writes:
|>>
|>>A very simple solution to the problem of multiple history files is to
|>>
|>> HISTFILE=$HOME/.history$$
|>>
|>>Works for me...
|>>
|>>Emmet P. Gray US Army, HQ III Corps & Fort Hood
|>
|>Once again a tip of the hat to Emmet for a useful and welcome contribution.
|>I knew there was some way to do it but never read enough to know how. This
|>is handy, Thanks!
|>
|>Not to be a nit picker, but how do you get rid of them when you log out?
[...]
Well you could stick this line in your .profile:
trap 'rm -f ~/.history$$"' 0
This should work...
-Lenny
--
Paper-net: Lenny Tropiano | @-net: lenny at icus.UUCP
ICUS Software Systems | !-net: ...sbcs \
PO Box 1 | boulder \
Islip Terrace, NY 11752 | talcott !icus!lenny
Vocal-net: (516) 582-5525 [work] | pacbell /
(516) 968-8576 [home] | hombre /
Telex-net: 154232428 ICUS | Another-net: attmail!icus!lenny
More information about the Comp.sys.att
mailing list