SilverWav's Journal

The best is yet to come…

Note: Remove Duplicates from .bash_history

leave a comment »

awk '!x[$0]++' .bash_history > .bash.tmp && mv -f .bash.tmp .bash_history

Bug #189881

Advertisements

Written by SilverWav

April 17, 2010 at 12:49 pm

Posted in Notes

Tagged with , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: