Software
>>
OS
>>
Unix
>>
Linux
>>
How to use for loop to uninstall rpm packages given the dir listing of a list of rpm files
for f in `ls -1 *.rpm | awk 'BEGIN {FS=".rpm"} {print
}'`;do echo rpm -ev $f;rpm -ev $f;done;
Please enable JavaScript to view the
comments powered by Disqus.