cd ~
cat .bash_history > .h
history -c;history -w;cat .h > .bash_history; rm -f .h;exit