@brishu: You have some other problem, then. Maybe your history is set to remember way too many commands, maybe you have a complex profile or rc file (.profile, .bash_profile, /etc/profile, or whatever, depending on your shell), or maybe the problem is something else entirely.