View Single Post

  #2 (permalink)  
Old 10-12-2007, 09:55 PM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

The number of commands to remember in the command history is set via HISTSIZE variable. The default value is 500 command. Did ya set HISTSIZE variable? Try
Code:
echo $HISTSIZE
If so increase value

Another thing is your ~/.bash_history may be linked to /dev/null to avoid login of all commands, try
Code:
ls -l ~/.bash_history
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote