Path: utzoo!utgpu!water!watmath!clyde!att!icus!lenny From: lenny@icus.UUCP (Lenny Tropiano) Newsgroups: comp.sys.att Subject: .history$$ files for ksh (was Re: Questions from a new user (SUMMARY)) Keywords: ksh history Message-ID: <465@icus.UUCP> Date: 12 Aug 88 22:45:36 GMT References: <620@gvgspd.GVG.TEK.COM> <11300001@osiris.cso.uiuc.edu> <226@ssbn.WLK.COM> Reply-To: lenny@icus.UUCP (Lenny Tropiano) Distribution: na Organization: ICUS Software Systems, Islip, New York Lines: 34 In article <226@ssbn.WLK.COM> bill@ssbn.UUCP (Bill Kennedy) writes: |>In article <11300001@osiris.cso.uiuc.edu> hood@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@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