Archive for June, 2009

Ever run into the problem where you created a password protected zip/rar file and you forgot the password or accidentally deleted it? Or just dont know the password at all? Well I have come across a nice solution for cracking zip/rar files. Its called rarcrack, If you forget your password for compressed archive (rar, 7z, zip), this program is the solution.
This program uses bruteforce algorithm to find correct password. You can specify which characters will be used in password generations.

Download RarCrack
Install RarCrack
tar xvjf rarcrack-0.2.tar.bz2
cd rarcrack-0.2
make ; sudo make install
Using RarCrack:

rarcrack your_encrypted_archive.ext [--threads thread_num] [--type rar|zip|7z]

Everything in [] are optional, rarcrack default crack two threads and autodetect the archive type. If the detection wrong you can specify the correct file type with the type parameter. RarCrack currently crack maximum in 12 threads.

After the cracking started RarCrack will print the current status of cracking and save it’s to a status file. If you want more specific password character set, you need to run RarCrack to create the XML status file (3 sec).

There will be a sample XML file, and you see there is a character set. If you want, you can modify this file and when you start RarCrack again the program will be use new variables.
Warning: Take care when you changing this file, make sure the current password don’t have characters outside the abc[character set]!

Know of any other rar/zip/7z cracking tools worth mentioning?

using only rar:

I don’t know how to do it with any GUI, but from the command line it’s easy.
Open a terminal and use this command:

rar a -r -m3 -v5g archivename path/to/folder/that/you/want/to/split


a = add files to archive

r = recursive, you need this if the folder you want to split has subfolders.

m3 = medium compression, use 0 for no compression, 5 for best compression. Adjust as desired.

v = multivolume (split)

5g = 5 GB per volume. Adjust number as desired. Use m for MB for smaller jobs.

archivename = the name you want the archive to be called. If you don’t specify a path here, the archive will be placed in whatever directory the terminal is in (probably your /home)

path/to/folder/that/you/want/to/split = self explanatory 🙂

All this is explained in the rar man page. Rar can do tons of stuff from the command line. In a terminal:man rar

In depth: A lot of people have been chattering about the improvements Windows 7 brings for Windows users, but how does it compare to Ubuntu in real-world tests? We put Ubuntu 8.10, Windows Vista and Windows 7 through their paces in both 32-bit and 64-bit tests to see just how well Ubuntu faces the new contender. And, just for luck, we threw in a few tests using Jaunty Jackalope with ext4.

When Windows users say that Windows 7 is easier to install than ever, what do they really mean? When they say it’s faster, is it just in their heads, or is Microsoft really making big strides forward? And, perhaps most importantly, when Linux benchmarkers show us how screamingly fast ext4 is compared to ext3, how well do those figures actually transfer to end users?

These are the questions we wanted to answer, so we asked Dell to provide us with a high-spec machine to give all the operating systems room to perform to their max. Our test machine packed an Intel Core i7 920, which in layman’s terms has four cores running at 2.67GHz with hyperthreading and 8MB of L3 cache. It also had 6GB of RAM, plus two 500GB of hard drives with 16MB of cache.

The tests we wanted to perform for each operating system were:

  • How long does each operating system take to install?
  • How much disk space was used in the standard install?
  • How long does boot up and shutdown take?
  • How long does it take to copy files from USB to HD, and from HD to HD?
  • How fast can it execute the Richards benchmark?

We also, just for the heck of it, kept track of how many mouse clicks it took to install each OS.

Before we jump into the results, there are a few things we should make clear:

  • To ensure absolute fairness, install time was measured from the moment the computer was turned on until we reached a working desktop.
  • The same computer hardware was used for all tests, and all operating systems were installed fresh for this article.
  • We used the Ultimate versions of Windows Vista and Windows 7, simply because Windows 7 was provided only in this flavour.
  • We used the Windows Vista SP1 disk to accurately reflect what users are likely to experience todaay.
  • Our Windows 7 version is the open beta that Microsoft issued recently. It is probable Windows 7 will be at least this fast in the final build, if not faster.
  • For Ubuntu 9.04 we used the daily build from January 22nd.
  • All operating systems were installed using standard options; nothing was changed.
  • After checking how much space was used during the initial install, each operating system was updated with all available patches before any other tests were performed.
  • Our journalistic friends have informed us that Windows Vista (and, presumably, Windows 7 too) has technology to increase the speed of the system over time as it learns to cache programs intelligently. It also allows users to use flash drives to act as temporary storage to boost speed further. None of our tests are likely to show this technology in action, so please take that into account when reading the results.
  • The filesystem, boot, shutdown and Richards benchmarks were performed three times each then averaged.

And, of course, there’s the most important proviso of all: it is very, very likely that a few tweaks to any of these operating systems could have made a big difference to these results, but we’re not too interested in that – these results reflect what you get you install a plain vanilla OS, like most users do.

Install time

Amount of time taken to install, from machine being turned on to working desktop. Measured in seconds; less is better.

At first glance, you might think that Ubuntu clearly installs far faster than either version of Windows, and while that’s true there is one important mitigation: both Windows Vista and Windows 7 run system benchmarks part-way through the installation to determine the computer’s capabilities.

A bit of a flippant one – just how many mouse clicks does it take to install an OS with the default options?

Surprisingly, Ubuntu 8.10 gets it done with half the clicks of Windows 7. NB: hopefully it’s clear this doesn’t make Ubuntu 8.04 twice as easy to install. Measured in, er, mouse clicks; fewer is better.

Disk space used immediately after a fresh install. Measured in gigabytes; less is better.

While some people might complain that we used the Ultimate editions of both Vista and Windows 7, they probably forget that the standard Ubuntu includes software such as an office suite as standard. NB: Vista failed to detect the network card during install, leaving us without an internet connection until a driver was downloaded on another computer.

Bootup and shutdown

Boot up time was also measured from the moment the machine was turned on, and the timer was stopped as soon as the desktop was reached. The Dell box does take about 20 seconds to get past POST, but to avoid questions about when to start the timer we just started it as soon as the power button was pressed.

Amount of time taken to boot, from machine being turned on to working desktop. Measured in seconds; less is better.

The 32-bit version of Windows 7 is the only one to beat the one-minute mark, but that advantage is quickly lost in the switch to 64-bit. Linux has always been rather slow to boot, but as we understand it reducing boot time is one of the goals of the Ubuntu 9.04 release.

Amount of time taken to shutdown, from button being clicked to machine powering off. Measured in seconds; less is better.

Windows lags a little behind the Linuxes, with 64-bit again proving a sticking point – this time for Windows Vista.

IO testing

To test filesystem performance, we ran four tests: copying large files from USB to HD, copying large files from HD to HD, copying small files from USB to HD, and copying small files from HD to HD. The HD to HD tests copied data from one part of the disk to another as opposed to copying to a different disk. For reference, the large file test comprised 39 files in 1 folder, making 399MB in total; the small file test comprised 2,154 files in 127 folders, making 603MB in total. Each of these tests were done with write caching disabled to ensure the full write had taken place.

Amount of time taken to copy the small files from a USB flash drive to hard disk. Measured in seconds; less is better.
Amount of time taken to copy the small files from one place to another on a single hard disk. Measured in seconds; less is better.

Let us take this opportunity to remind readers that Windows 7 is still at least nine months from release.

Amount of time taken to copy the large files from a USB flash drive to hard disk. Measured in seconds; less is better.
Amount of time taken to copy the large files from one place to another on a single hard disk. Measured in seconds; less is better.

With the exception of Windows 7 while copying larges files around a hard drive, Windows generally suffered compared to Linux in all of these tests. Obviously Windows does have to worry about some things that Linux doesn’t, namely DRM checks, but these figures show a drastic performance difference between the two.

Notes: Vista and Windows 7 really seemed to struggle with copying lots of small files, but clearly it’s something more than a dodgy driver because some of the large-file speeds are incredible in Windows 7.

Both Vista and Windows 7 seemed to introduce random delays when deleting files. For example, about one in three times when deleting the files from our filesystem benchmark, this screen below would appear and do nothing for 25-30 seconds before suddenly springing into action and deleting the files. However, this wasn’t part of our benchmark, so isn’t included in the numbers above.

This was very annoying.

Richards benchmark

Notes: This was done using the cross-platform Python port of Richards. For reference, Ubuntu 8.10 uses Python 2.5.2, Ubuntu 9.04 uses Python 2.5.4, and we used Python 2.5.4 on the Windows tests. Even though the 64-bit results for Linux and Windows don’t look that far apart, we have to admit to being very impressed with the Windows tests – the deviation between tests was just 3ms on Vista, and 5ms on Windows 7, compared to 20ms on Linux.

Amount of time taken to execute the Python Richards benchmark. Measured in milliseconds; less is better.

It’s clear from that graph that having a 64-bit OS can make a real difference in compute-intensive tasks, but it’s not too pleasing to see Windows pip Linux to the post in nearly all results.

Switching to ext4

All the Linux benchmarks above were done using ext3, so what happens when we switch to ext4? Well, not a lot:

Boot, shutdown and filesystem tests for Ubuntu 9.04/x86-64 using ext3 (blue) and ext4 (red). Measured in seconds; less is better.

Although there’s no difference in shutdown speed, the boot time using ext4 dropped by 8 seconds, which is a fair improvement. We can probably discount the the USB to HD tests simply out of error margin, which leaves the HD to HD tests, and there we find a very healthy boost: 3.7 seconds were shaved off the small files test, making ext4 about 25% faster. Our tests also showed an improvement in the large file test, but it’s not as marked.


Benchmarks are always plagued with questions, uncertainties, error margins and other complexities, which is why we’re not going to try to look too deeply into these figures. Obviously we’re Linux users ourselves, but our tests have shown that there are some places where Windows 7 really is making some improvement and that’s good for competition in the long term. However, Linux isn’t sitting still: with ext4 now stable we expect it to be adopted into distros fairly quickly. Sadly it looks like Ubuntu 9.04 won’t be among the first distros to make the switch, so users looking to get the best performance from their Linux boxes will either have to fiddle with the default options, have patience, or jump ship to Fedora – which will be switching to ext4 in the next release..

It’s here! Dropbox for Linux is finally available and ready for your everyday use.

We recommend you download the “x86_64” package for your distribution from the list below.

If your distribution is not listed above, or compatible with one listed above, download the source and read the readme file for instructions.

After installing the package you must restart Nautilus. You can do that by issuing the following command (note: if you’re running compiz, doing so may lock up your computer – log out and log back in instead):

$ killall nautilus

Looking for the Windows or Mac version?

System Requirements:

Dropbox is supported on x86 and x86_64 versions of Ubuntu 9.04, Ubuntu 8.10, Ubuntu 8.04, Ubuntu 7.10, and Fedora Core 9. There have also been reports of users getting Dropbox to work on different versions of Gentoo, Arch Linux, OpenSUSE, and Debian. If you are having trouble getting Dropbox to run on your Linux system check if you have the following software dependencies installed:

  • GTK 2.12 or higher
  • GLib 2.14 or higher
  • Nautilus 2.16 or higher
  • Libnotify 0.4.4 or higher

How does it work?

Currently Dropbox for Linux consists of two major components. dropboxd is a per-user closed-source daemon process that makes sure your $HOME/Dropbox directory is properly synchronized with your other computers and our secure backend. nautilus-dropbox is a GPL‘d Nautilus plugin that connects to dropboxd (via a pair of Unix domain sockets) and presents a GUI based on the information dropboxd provides. You guessed right, GPL means nautilus-dropbox is open source, and it’s free software!

There is nothing special about nautilus-dropbox. Indeed, any client process who follows the dropboxd protocol can implement a UI for Dropbox. The protocol is a very simple RPC-like UTF8 string based protocol. As of now there is no formal documentation on this protocol but you can always read the nautilus-dropbox source 🙂 That’s why it’s open! Perhaps write your own command line interface, or a KDE interface.

If you’re curious about exactly how the Linux client came to fruition, check out the linux thread that convinced us to offer Dropbox for Linux. It features over a thousand posts and lots of enthusiastic cheerleading :-).

I’m getting unauthenticated package warnings when trying to install…

That will happen if you don’t have Rian’s public key installed in your gpg database. You can import it with the following commands:

$ gpg --keyserver --recv-keys 3565780E

What if I don’t use Nautilus or X?

You aren’t the only one! One of our lovely users created a HOWTO with instructions on how to set that up. Once you have done that you can use our CLI script to view the status of the Dropbox daemon as well as the status of files being synced. There is also a CLI script created by one of our users, Filip L., that you may also like.

Do you have any ideas for an improved CLI interface? Please let us know! Via email or our forums.

Is there an Ubuntu repository?

Yes! We have an unauthenticated repository for Ubuntu 9.04, 8.10, 8.04, and 7.10. For Ubuntu 9.04, add the following lines to your /etc/apt/sources.list or equivalent:

deb jaunty main
deb-src jaunty main

For Ubuntu 8.10 add these lines:

deb intrepid main
deb-src intrepid main

For Ubuntu 8.04 you might want to add these lines instead:

deb hardy main
deb-src hardy main

And for Ubuntu 7.10, add these lines:

deb gutsy main
deb-src gutsy main

Don’t fret! In the future we will be authenticating our packages.

Having Issues?

Go to the forums. There are lots of GNU/Linux friends who can help you, including the Dropboxers. If that fails, try emailing

I found a bug, I have a patch!

That’s awesome. You rule! Due to legal requirements, we can only accept patches verbatim into our release if you file a copyright assignment to Evenflow, Inc. Alternatively, you can release your patch into the public domain, that allows us to sidestep all legal issues. Don’t worry we’ll still credit you in our CONTRIBUTORS file 🙂 This is similar to the way GNU does things.

Install fdupes in ubuntu

sudo aptitude install fdupes

This will install all the required packages for fdupes

Using fdupes

Fdupes syntax

fdupes [ options ] DIRECTORY

Available Options

-r --recurse – include files residing in subdirectories

-s --symlinks – follow symlinked directories

-H --hardlinks – normally, when two or more files point to the same disk area they are treated as nonn-duplicates; this option will change this behavior

-n --noempty – exclude zero-length files from consideration

-f --omitfirst – omit the first file in each set of matches

-1 --sameline – list each set of matches on a single line

-S --size – show size of duplicate files

-q --quiet – hide progress indicator

-d --delete – prompt user for files to preserve, deleting all others

-v --version – display fdupes version

-h --help – displays help

Fdupes Examples

1) fdupes -r ./stuff > dupes.txt

Then, deleting the duplicates was as easy as checking dupes.txt and deleting the offending directories. fdupes also can prompt you to delete the duplicates as you go along.

2) fdupes -r /home/user > /home/user/duplicate.txt

Output of the command goes in duplicate.txt

fdupes will compare the size and MD5 hash of the files to find duplicates

You can also use fslint to do this job this is simple GUI tool to do this.

// <![CDATA[//
// <![CDATA[//

10 Awesome Tools To Get More Out of Wikipedia

Wikipedia is an ocean of information. While you may still want to seek secondary information sources before trusting it entirely, you cannot argue that the site contains a plethora of useful information.

That said, it’s tough to navigate through so much data. You can get much more out of it in less time if you decide to ditch the conventional way of using the built-in Wikipedia search for scouring through the information. The following ten tools will help you search and use Wikipedia like never before. I am sure you’ll love using some of them.

Navify is an excellent web service which shows a lot of additional information related to a Wikipedia article like related images, videos and articles.

So if you are searching for Barack Obama, you can see the Wikipedia article on him, his photos, and the Youtube videos of his speeches, all on one page. Hence it can be used as a good research tool.

Powerset is a Wikipedia search engine which certainly produces much better results than Wikipedia’s in-built search. It finds keywords related to your search term and also displays various articles and categories which could be relevant to your query.

AgainButSlower is an innovative tool which modifies Wikipedia articles to make them simpler and easier to understand. So if you are looking to gain some knowledge about “Quantum Mechanics ” and the Wikipedia article looks intimidating with all the heavy scientific terms, then AgainButSlower can help you. In fact just try that term. You’ll find it to be really cool.

VisWiki (formerly Visual Wikipedia) is one of my personal favorites. It is an incredible tool which can take your online research to new levels. Not only it pulls up extensive information about your query but also produces interactive maps showing connection between articles and terms which is really awesome.

Need a quick and uncluttered print out of a Wikipedia article ? Lexisum will help you do that. It displays print-friendly Wikipedia summaries which can be easily formatted and adjusted according to your printer settings.

Another innovative and useful site. PedioPhon converts Wikipedia articles to mp3 recordings. So next time you feel like listening to something from Wikipedia while jogging then you know what to do.

Snapask delivers Wikipedia articles to your cellphone via email. Just send an email to with the corresponding command in the subject line and you’ll receive the information in 30 seconds.

Similpedia provides a new way to search Wikipedia. Instead of typing search terms, it asks you enter a url or a paragraph of text of at least 100 words and then it displays relevant Wikipedia articles related to that text.

Would you like to know which are the most read articles on Wikipedia and the trending articles in last 30 days ? Wikirank will show you. As I write this, the Beatles seem to dominate the scene. 🙂

And finally, if the current article database in Wikipedia can’t satiate your hunger for information then you can browse through DeletionPedia, an archive for deleted Wikipedia articles. You might come across some interesting articles there.

Hope you like the tools. If you know of some other such cool Wikipedia tools then lets hear about them in the comments.

One of the most neglected aspects of our health is our posture. Amongst all the guidelines on healthy eating and workout methods, this essential facet of our well-being is often overlooked.

Posture provides the foundation for a balanced workout, deeper breathing, effective digestion and efficient functioning of organs. Improving your posture will benefit your overall health, give you more energy, help rehabilitate or prevent injury and increase sporting performance.

That’s a lot of benefits for such an overlooked idea and I didn’t even mention that it would help you sit at your workstation longer and work harder without cramping!

Here we take a look at six core stretches that will increase your flexibility from head to toe.

  • Stretch One: The “Superman”
    The aim of this stretch is to finish at 90 degree angle, leaning forward onto a stretch band or other object with your legs straight, torso horizontal and arms extended.Jan Keller Posture Correction

    • Keep your feet shoulder width apart with a slight bend at the knees.
    • Lean forwards with your arms extended and resting on a steady object or stretch band.
    • Push your backside out, keep your shoulders high
    • Gently straighten your legs
    • You control the stretch.

    You should feel the stretch in the front and back of the shoulders, across the back of the neck, through the back, glutes, hamstrings and calves.

  • Stretch Two: The “Reverse Superman”Jan Keller Posture Correction
    The aim of this stretch is to step forward pull your arms upwards behind your back. This is a great stretch for your chest muscles (pectorals) and especially good for anyone who has rounded shoulders from desk work, driving or poor training habits (too many bench presses and no back work!). You’ll need a stretch band for this one.

    • Hang the stretch band over a steady object and grab hold of it behind you.
    • Make sure you have an underarm grip on the stretch band – palms towards ceiling.
    • Keep your arms straight and your body vertical as you step forward, pulling your arms up behind you.
    • Keep your abs tight, chest out and head up.
    • You control the stretch.
  • Stretch Three: HamstringsJan Keller Posture Correction
    The soccer player’s favorite! Connected to the glutes (backside) which in turn are connected to the lower back, improving flexibility here can help back issues. A stretch band will help you perform this stretch effectively.

    • Attach stretch band halfway along foot
    • Lift one leg straight in the air
    • Keep the knee straight
    • Pull toes down towards head
    • Stretch a little further as you relax into the stretch.
    • You control the stretch.

    Pulling back the toes will also increase the stretch into the calf muscles.

  • Stretch Four: Posterior Chain
    You’ll feel this stretch in your leg but it primarily targets the lower spine and is particularly effective for lower back issues and sciatica. I consistently use this with great results for clients experiencing back problems.

    • Attach stretch band halfway along foot
    • Hold the elastic in the opposite hand Left leg stretch, right hand elastic)
    • Keep the free arm flat on the floor
    • Gradually increase the stretch as you relax into it.
    • You will feel the stretch in the calf, hamstring and glutes but it also works the lower back.
    • You control the stretch.
  • Stretch five: Glutes (backside)Jan Keller Posture Correction
    OK, it’s time to work on the buns! These are really important muscles in the lower body. They are used for lots of common movements such from sitting and standing to walking up stairs, so get a lot of use and tend to be quite tight, particularly in people with pelvic tilt.

    • Place one leg against a wall at a 90 degree angle for support
    • Place the ankle of the other foot in front of the knee resting against the wall.
    • Pull the heel towards you and push the knee away to control the stretch
    • Hold for 1m on each side

    You should feel the stretch down the outside of your thigh, into your backside and nowhere else.

  • Stretch Six: Hip flexors
    Lordosis (curvature of lower spine) and posterior tilt in the pelvis can cause these antagonist muscles to be particularly tight. Stretching can help align the pelvis, reducing lordosis and alleviating lower back pain.Jan Keller Posture Correction

    • Put one leg on floor at a 90 degree angle
    • Place opposite knee on floor and your toes on wall behind you.
    • Make sure your body is upright
    • Pull back your shoulders and keep your abdominals tight
    • Push hips forward gently above the knee that is on the floor
    • Hold for 1m each side
    • Remember you control the stretch!
  • And that’s the six stretches! Many of my clients have had great results just from improving their flexibility, some have even been on the brink of surgery after exhausting a lot of other options. Correcting the underlying postural imbalances is a great help, but in the first instance these stretches will set you on the right path.

    Forty years ago this summer, a programmer sat down and knocked out in one month what would become one of the most important pieces of software ever created.

    Canonical has just released a new “cloud” service for all users: Ubuntu One starts today as an invitation-based Beta. There are two storage options momentarily: a free 2GB account and a $10/month 10 GB one. If you are familiar with services like Dropbox, Ubuntu One apparently does the same job.
    Ubuntu one features

    • Seamless integration with your Ubuntu based computer
    • Sync files between multiple machines
    • Access to your files away from your computers via our web interface
    • Free 2GB Storage Plan
    • 10GB Monthly Storage Plan ($10.00 (USD) per month)

    System Requirements

    To use Ubuntu One services, we require Ubuntu 9.04 or greater, a internet connection (broadband or faster is recommended) and Firefox or a similar standards-compliant web browser.

    Access Ubuntu one from the following URL

    If you want to subscribe for an Ubuntu One Beta invitation, you simply have to go to the Ubuntu One website, sign in with your Launchpad account, and wait for the confirmation email.