$ rpm -qa --queryformat '%{size} %{name}-%{version}-%{release}\n' | sort -k 1,1 -rn | nl | head -16 1 205734852 libreoffice-core-4.0.2.1-1.mga3 2 145069876 google-chrome-stable-25.0.1364.172-187217 3 126625991 metasploit-4.5-1.mga3 4 126059188 gutenprint-foomatic-5.2.9-2.mga3 5 110096290 libffmpeg-static-devel-1.1.2-1.mga3 6 98677497 java-1.7.0-openjdk-1.7.0.6-2.3.8.1.mga3 7 92598166 libgweather-3.6.2-2.mga3 8 71248176 gnome-icon-theme-3.6.2-2.mga3 9 57972204 gimp-2.8.2-3.mga3 10 57019183 evolution-3.6.3-1.mga3 11 49940798 samba-common-3.6.12-1.mga3 12 46397791 kdebase4-workspace-4.10.1-1.mga3 13 45481232 firefox-17.0.4-1.mga3 14 42666340 kernel-desktop586-3.8.0-0.rc5.1.mga3-1-1.mga3 15 42656290 kernel-desktop586-3.8.0-0.rc4.1.mga3-1-1.mga3 16 42653069 kernel-desktop586-3.8.3-2.mga3-1-1.mga3
Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?
You must be signed in to comment.
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for: