Wednesday, November 12, 2008

Simple bash for loop

for kernelrpm in kernel-smp-2.6.9-5.EL kernel-smp-2.6.9-34.EL kernel-smp-2.6.9-67.0.1.EL kernel-utils-2.4-14.1.117

do rpm -e $kernelrpm

done

No comments: