Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HISTFILE setting ignored in AIX 7.1

Status
Not open for further replies.

michaelvv

MIS
Jan 17, 2003
70
US
Despite setting HISTFILE to something else, all command history goes to .sh_history. I have checked /etc/profile and /etc/environment. Does anyone have any suggestions?
 
export HISTFILE=$HOME/.sh_history_mvv
export HISTSIZE=1024
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.

export PATH

typeset -x CDPATH=:~ ENV=.kshrc PS1=$(hostname -s):'$PWD>' PS4='[$LINENO]+ ' VISUAL=vi EDITOR=vi
ENV=$HOME/.kshrc
export ENV

if [ -s "$MAIL" ] # This is at Shell startup. In normal
then echo "$MAILMSG" # operation, the Shell checks
fi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top