Skip to content

Instantly share code, notes, and snippets.

@suvene
Created June 21, 2013 17:18
Show Gist options
  • Save suvene/5832775 to your computer and use it in GitHub Desktop.
Save suvene/5832775 to your computer and use it in GitHub Desktop.
centos check priorities
sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment