Skip to content

Instantly share code, notes, and snippets.

@orimanabu
Created December 3, 2010 10:52
Show Gist options
  • Save orimanabu/726825 to your computer and use it in GitHub Desktop.
Save orimanabu/726825 to your computer and use it in GitHub Desktop.
yum muzui...
#!/bin/sh
x=0
for group in `yum --enablerepo=rhel60 grouplist -v | grep '^ ' | sed -e 's/.*(\(.*\))/\1/' | sort`; do
echo "===> ($x) ${group}"
yum --enablerepo=rhel60 groupinfo ${group}
((x = x + 1))
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment