UnixTips.net

* use my tips at your own risk !!

* use my tips at your own risk !!

Categories

  • Other (3)
  • Scripting (10)
  • Unix (70)
  • Wordpress (2)

Powered by Genesis

history command

In your .profile put in the following. YOu can have your HISTSIZE as large
as you want. It will be put in your HISTFILE /.sh_history
# Set command history
HISTFILE=/.sh_history
export HISTFILE
HISTSIZE=2000
export HISTSIZE