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?
 
alphabet26Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.