SCHMAUSTECH
Wednesday, November 28, 2007
Perl One Liner to Find Duplicate RPM's in Linux
rpm --last -qa | perl -n -e '/^(\S+)-\S+-\S+/; print "$&\n" if $SEEN{$1}; $SEEN{$1} ||= $_;' | uniq > duplicates.txt
Newer Post
Older Post
Home
View mobile version