bash history

Andy Blanchard zocalo at gmail.com
Sun Apr 29 00:08:29 UTC 2012


On 29 April 2012 00:44, Peter Gueckel <pgueckel at gmail.com> wrote:

> It looked promising, but it doesn't work. I logged out and back in twice,
> then even
> completely turned off the computer and back on again, but when I examine
> the
> .bash_history file, it is riddled with duplicate commands.


It works, but not retrospectively.  If you try running one of the
duplicated commands, it will strip out all of the duplicate entries then.
You'll also need to run "history -w" to update the history file, otherwise
it won't get updated until you exit the shell.

-- 
Andy

*The only person to have all his work done by Friday was Robinson Crusoe*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120429/93cde72b/attachment.html>


More information about the users mailing list