Skip to content

Instantly share code, notes, and snippets.

@eltonvs
Created January 12, 2017 01:08
Show Gist options
  • Save eltonvs/0e661e356a1f2ffcf218843db174ce0d to your computer and use it in GitHub Desktop.
Save eltonvs/0e661e356a1f2ffcf218843db174ce0d to your computer and use it in GitHub Desktop.
Shell script to update all repositories (works on arch linux)
sudo pacman -Syyu
sudo pacman -Sc --noconfirm
sudo pacman -R $(pacman -Qdtq)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment