#!/bin/sh #remove duplicates awk '!x[$0]++' ~/.history | sponge ~/.history #execute /usr/bin/sb-binary