Regarding SunOS history

view story

http://www.unix.com – Hi all, I am working on SunOS bash shell. Whenever I see my Code: history by typing it, I can see commands executed till now. But when i look at my .bash_history, it does not gets polpulated by the commands i ran, since the beginning of my present login. Once I exit and relogin, I can see .bash_history populated ( appended ) with commands ran during last login. My queries being: 1.) Is it a default behaviour? 2.) Where actually the intermediate history is stored? ( login-logoff ) More inputs : Code: env | grep -i hist yields no result. Code: cat .*profile* | (HowTos)