At 08:12 PM 1/1/01 +0530, Rajesh Fowkar wrote:
>Is there any way to get rpm packages listing in order of their sizes in
>ascending order with sizes mentioned alongside ? This is to find out which
>rpm packages have occupied more space on my Hard Disk.
You can do something like (in bash)
for i in `rpm -qa`
do
ls -lc /mnt/cdrom/path/to/rpm/directory/$i.rpm >> rpm.txt
done
Suresh Ramasubramanian + mallet<@>efn.org
You spamma my mailbox I nukea da ass
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/