How to erase duplicates of commands from the command history ?
Hello Friends,
This is the configuration that i have done in my bash profile to erase the duplicate linux commands : HISTCONROL=ignoredups:erasedups export HISTCONTROL Still, i am finding duplicates of commands (some are appearing 2 times, some are appearing 3 times and so on....) Can anyone suggest me how to erase / prevent duplicates from the command history ? |
do you find them after you log out and back in again ?
or during the same terminal or user session ? |
Actually, to be sorry at the 1st place, there is a typo in the command that i have written
in the .bash_profile. Now, i have rectified that error and its working fine. !! |
All times are GMT -5. The time now is 03:41 AM. |