Update bash history frequently.