HISTFILE and HISTSIZE on HP, Solaris, & LINUX servers

How do I set these variables (HISTFILE and HISTSIZE) in the .profile (using ksh). Same way for both HP and Solaris? What about for Linux?
LVL 1
sonriksAsked:
Who is Participating?
 
alphabet26Connect With a Mentor Commented:
Solaris and Linux can use export on the same line
export HISTFILE=$HOME/.sh_history

Open in new window

I seem to recall HPUX needs it set then exported
HISTFILE=$HOME/.sh_history; export VARIABLE

Open in new window

0
 
sonriksAuthor Commented:
thanks a lot!
0
All Courses

From novice to tech pro — start learning today.