For When You Can't Have The Real Thing
[ start | index | login ]
start > ksh history

ksh history

Created by dave. Last edited by dave, 21 years and 36 days ago. Viewed 4,090 times. #1
[edit] [rdf]

Unique KSH history

Useful if you want each of your concurrent login sessions to have their own unique shell history. Very useful if different people are logged in as the same user but doing different things (ie root user on a central system).

[ -d `dirname $HISTFILE` ] || mkdir -p `dirname $HISTFILE`

Works on Solaris' ksh and RedHat 8.0's pdksh

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt