commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
There are 8 alternatives - vote for the best!
This one-liner will output installed packages sorted by size in Kilobytes.
M is size in megabytes, man expac to see other sizes
%m is install size
%k is download size
This, like the other commands listed here, displays installed arch packages. Unlike the other ones this also displays the short description so you can see what that package does without having to go to google. It also shows the largest packages on top. You can optionally pipe this through head to display an arbitrary number of the largest packages installed (e.g. ... | head -30 # for the largest 30 packages installed)
If you can do better, submit your command here.
You must be signed in to comment.