Skip to content

Instantly share code, notes, and snippets.

@digitalashes
Created November 29, 2017 20:33
Show Gist options
  • Save digitalashes/5df19da7bdca8792f05dd83a44eddc65 to your computer and use it in GitHub Desktop.
Save digitalashes/5df19da7bdca8792f05dd83a44eddc65 to your computer and use it in GitHub Desktop.
cat /etc/apt/sources.list | perl -ne '$H{$_}++ or print' > /tmp/sources.list && sudo mv /tmp/sources.list /etc/apt/sources.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment