List all the rpms by size – quick way to find out what is eating your disk space in root partition

2010-10-13 1 min read Bash Fedora

Here is a quick command to check the list of installed packages by their size in reverse order. Very useful if you want to remove unwanted rpms just to clean up some space on your disk:

  <td>
    <div class="text codecolorer">
      rpm -q -a --qf "%10{SIZE}\t%{NAME}\n" | sort -k1,1nr |more
    </div>
  </td>
</tr>
1

Sample output:

78070452    kernel
78060477    kernel
50708634    jre
50316408    libgcj
48581593    wireshark
47778643    gimp
47674675    jre
47303084    qt-x11
45838912    otrs
45657248    chromium-libs
42070128    wxPython

Continue reading

Quick tip on zipping logs in real time.

2010-10-13 1 min read Bash Learning Linux

Sometimes, some small things that we don’t actually think can be useful are such useful. I faced this couple of days back when I was working on something and the amount of logs getting generated and the files getting rotated was too fast. If I had to use this for sometime, I needed some script, application or something to make sure that the logs are zipped every few seconds. Finding an application for this would take time and what good is bash if we need to find applications for this. So, a simple bash command did the trick. Most of us would know this but applying it and using it at the right time, was what saved my life. Thanks to bash. Here is the command:

Continue reading

Ubuntu Maverick Meerkat 10.10 Post Installation Guide

2010-10-12 1 min read Linux

Ubuntu Maverick Meerkat 10.10 Post Installation Guide ubuntu.jpgUbuntu 10.10 codenamed Maverick Meerkat is released. As you all know Ubuntu is the most popular Linux distribution since it aims on usability and ease of installation. The new version of Ubuntu comes with Gnome 2.32 and Linux kernel 2.6.35. Of course all software is updated with new versions. The installation has also become very easy and fast. The user has to do only a few clicks until he boots up to his new Ubuntu desktop. Download Ubuntu 10.10 install it and let’s see a few tips and tricks!

Continue reading

http://ninite.com/linux/makeuseof – very good collection of utilities for .deb based distro’s

2010-10-08 1 min read Linux Uncategorized

Head over to http://ninite.com/linux/makeuseof and you will find a nice utility created by the makeuseof guys. This will allow you to select the applications that you want to install and once you have made the selection you can download the unattended installer.

Well, to be frank with you I really do not see the need for this unless you don’t know how to add repositories or install simple stuff. Most of this (no, actually all of this except dropbox in my Fedora setup with the repositories that I have set). Now for one application why would I do that if that was available for Fedora. Any-ways pretty good for newbies, still.

Continue reading

Resize all the images in directory.

2010-10-04 2 min read Bash Linux Photo
Geotagger "Solmeta N2 Kompass" for N...
  <dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">
    Image via <a href="http://commons.wikipedia.org/wiki/File:Solmeta_N2_auf_Nikon_D5000_Rueckansicht.JPG">Wikipedia</a>
  </dd>
</dl>

When I take a photo with my DSLR Nikon D5000, the size of the image comes to around 5MB and I know that with my point and shoot camera also it does not come to any lesser than 3MB. Definitely this is quite good to keep the images in the same size for use but when it comes to on-line sharing I don’t think this is the size that is required. I guess mosr of the time 1024×768 is sufficient. Even if you are sending the images in email, you cannot afford to send a lot of images of this size even with a gmail account.

Continue reading
Older posts Newer posts