Created
November 17, 2020 13:23
-
-
Save cupracer/59b9af99c97f0c87119e2e27b912829e to your computer and use it in GitHub Desktop.
List all installed RPM packages which were installed without docs
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
for i in $(rpm -qa); | |
do | |
rpm -qs $i | grep -q "not installed" && test $(rpm -qlc $i | wc -l) -ne 0 && echo $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment