What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again.

Delete that bloated snippets file you've been using and share your personal repository with the world. 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.

Get involved!

You can sign-in using OpenID credentials, or register a traditional username and password.

First-time OpenID users will be automatically assigned a username which can be changed after signing in.

Universal configuration monitoring and system of record for IT.

Stay in the loop…

Follow the Tweets.

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

Subscribe to the feeds.

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:



May 19, 2015 - A Look At The New Commandlinefu
I've put together a short writeup on what kind of newness you can expect from the next iteration of clfu. Check it out here.
March 2, 2015 - New Management
I'm Jon, I'll be maintaining and improving clfu. Thanks to David for building such a great resource!

Top Tags



Psst. Open beta.

Wow, didn't really expect you to read this far down. The latest iteration of the site is in open beta. It's a gentle open beta-- not in prime-time just yet. It's being hosted over at UpGuard (link) and you are more than welcome to give it a shot. Couple things:

  • » The open beta is running a copy of the database that will not carry over to the final version. Don't post anything you don't mind losing.
  • » If you wish to use your user account, you will probably need to reset your password.
Your feedback is appreciated via the form on the beta page. Thanks! -Jon & CLFU Team

convert vdi to vmdk (virtualbox hard disk conversion to vmware hard disk format)

Terminal - convert vdi to vmdk (virtualbox hard disk conversion to vmware hard disk format)
VBoxManage internalcommands converttoraw winxp.vdi winxp.raw && qemu-img convert -O vmdk winxp.raw winxp.vmdk && rm winxp.raw
2009-10-12 16:23:37
Functions: rm
convert vdi to vmdk (virtualbox hard disk conversion to vmware hard disk format)

Converts a .vdi file to a .vmdk file for use in a vmware virtual machine. The benefit: using this method actually works. There are others out there that claim to give you a working .vmdk by simply using the qemu-img command alone. Doing that only results in pain for you because the .vmdk file will be created with no errors, but it won't boot either.

Be advised that these conversions are very disk-intensive by nature; you are probably dealing with disk images several gigabytes in size.

Once finished, the process of using the new .vmdk file is left as an exercise to the reader.


There are 4 alternatives - vote for the best!

Terminal - Alternatives
vboxmanage clonehd --format VMDK <source image|uuid> <destination image>
2010-10-04 16:42:12
User: dreffed

This is based on the Windows Version of VirtualBox.

From the /? ...

VBoxManage clonehd |

[--format VDI|VMDK|VHD|RAW|]

[--variant Standard,Fixed,Split2G,Stream,ESX]

[--type normal|writethrough|immutable|shareable]

[--remember] [--existing]

From the online help..


VBoxManage clonehd

This command duplicates a registered virtual hard disk image to a new image file with a new unique identifier (UUID). The new image can be transferred to another host system or imported into VirtualBox again using the Virtual Media Manager; see the section called ?The Virtual Media Manager? and the section called ?Cloning disk images?. The syntax is as follows:

VBoxManage clonehd |

[--format VDI|VMDK|VHD|RAW|]

[--variant Standard,Fixed,Split2G,Stream,ESX]

[--type normal|writethrough|immutable]


where the parameters mean:


Allow to choose a file format for the output file different from the file format of the input file.


Allow to choose a file format variant for the output file. It is a comma-separated list of variant flags. Not all combinations are supported, and specifying inconsistent flags will result in an error message.


Only honored if --remember is also specified. Defines what kind of hard disk type this image should be.


Keep the destination image registered after it was successfully written.

Know a better way?

If you can do better, submit your command here.

What others think

Just lately, a brand new craze of ladies result from all over the world: Over-sized handbag. Some pick as they feel it cool, while other people utilize them for their own adaptability. If you've not yet purchased one, here are our reasons why all women ought to have a real bag within their clothing. 1. Room Oversized females handbags usually are huge! You can place almost everything you may need in it and still have some living space eventually left inside. You are able to place the keys, budget, document, equipment, cosmetics, mobile phone and all the what you require for your baby (for those who have one particular) and also a section of your current soulmate's goods. With so considerably storage area is no wonder that almost all females have become hooked on this sort of pocket book. 2. Flexibility An large handbag can be simply transformed into a new diaper bag or simply a bag for which you can conduct ones home gym equipment. They're sensible and have absolutely several spaces because you take the documents plus your little one's whole milk inside the exact same bag without even acquiring better. Now this 's what We phone a practical women bag! 3. Fashion Oversized women's handbags have returned in style, so if you aim for an elegant search you need to want no less than one bag of the type. It certainly won't be long before you will totally get into appreciate by it and don't want to overlooked. In addition, they are great along with virtually any relaxed ensemble, there exists a couple of skinny jeans or even a smaller skirts rich in heeled shoes. 4 They generate you peer more compact If there is something it is will make girls leaner, you may gamble in which piece will surely end up being # 1 in the almost no time. http://www.hermesbeltsbirkinkellybag.co.uk/ This is what occurred along with oversized handbags, too. Because these are immense, that they right away attract their focus. Consequently, when people look at the individual that has them, by means of comparison together with the bag, the truth is see your face significantly slimmer. This is the best approach I've got read of which losing some fat in the eyes connected with other individuals without doing nearly anything! Large girls handbags include the perfect option for active women that want each of the required points using them. They can be difficult sometimes, but they're very beneficial along with beautiful, usually are not do they really want to give up?

Comment by stephanieg915 1 day ago

























Comment by sguerra376 45 minutes ago

Your point of view

You must be signed in to comment.