Last active
December 18, 2018 08:30
-
-
Save sumandeng/ad7da5b6f1397f82727d3827c4c3195e to your computer and use it in GitHub Desktop.
用yum安装、查看程序组
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # yum-list-available-environment-groups.sh | |
| yum grouplist | sed '/^Installed Groups:/,$d;/^Available Environment Groups:/,$!d;/^Available Environment Groups:/d;s/^[[:space:]]*//' | |
| # yum-list-available-groups.sh | |
| yum grouplist | sed '/^Available Groups:/,$!d;/^Available Groups:/d;/^Done/d;s/^[[:space:]]*//' | |
| # yum-list-installed-groups.sh | |
| yum grouplist | sed '/^Installed Groups:/,$!d;/^Available Groups:/,$d;/^Installed Groups:/d;s/^[[:space:]]*//' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment