List all Installed RPMs by Size
Tuesday, February 5th, 2008
Show space used by rpm packages installed sorted by size (fedora, redhat and like)
rpm -q -a --qf "%10{SIZE}\t%{NAME}\n" | sort -k1,1n
Show space used by rpm packages installed sorted by size (fedora, redhat and like)
rpm -q -a --qf "%10{SIZE}\t%{NAME}\n" | sort -k1,1n
This commands reverses a file in linux - the last line will be the first…
tac file.txt
tac = reverse of cat