Hide

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.
Hide

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:

Hide

News

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!
Hide

Top Tags

Hide

Functions

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

A DESTRUCTIVE command to render a drive unbootable

Terminal - A DESTRUCTIVE command to render a drive unbootable
dd if=/dev/zero of=/dev/fd0 bs=512 count=1
2009-09-09 23:43:22
User: andrew112358
Functions: dd
2
A DESTRUCTIVE command to render a drive unbootable

Overwrites the boot sector. Since this doesn't overwrite any data, you can usually recover by re-creating the partition table exactly the same as before you zeroed it. This can also help sometimes if you install a new drive in a Windows machine which can't read it.

Alternatives

There are 7 alternatives - vote for the best!

Terminal - Alternatives
badblocks -vfw /dev/fd0 10000 ; reboot
2009-09-04 16:57:51
User: SuperFly
Functions: badblocks
1

THIS COMMAND IS DESTRUCTIVE. That said, lets assume you want to render your boot drive unbootable and reboot your machine. Maybe you want it to boot off the network and kickstart from a boot server for a fresh OS install. Replace /dev/fd0 with the device name of your boot drive and this DESTRUCTIVE command will render your drive unbootable. Your BIOS boot priority should be set to boot from HD first, then LAN.

Know a better way?

If you can do better, submit your command here.

What others think

If you are looking intended for designer handbags regarding yourself or for re-sale , nor show to spend pricey prices, there are a lot of possibilities. A great deal of builder bags usually are ideally obtainable in an array of treatments and they will not consist of risking a new weeks paycheck to get all of them. Keep to the suggestions beneath to find out the best way you may want attain low-cost Bags bags in either outlets.Similarly come from the Ough.Utes., COACH, its northern border National current market, but also its decoration. The year 2013 financial twelve months finishing November Up to 29, Next year, revealed in Jan this current year, Prepare, nevertheless it decreases limited: Q2 regular profits climbed 4 % to help A dollar.Your five thousand, One dollar.Six zillion nominal when compared to the market gotten ready for.Balenciaga totes are a few of the very hunted for just after bags in the world. Balenciaga bags are manufactured by a human being of the very adored creative designers out there, Cristobal Balenciaga. This individual create the joy of Balenciaga in the genuinely first Twentieth century in San Sebastian, Italy and later on on spread around the world from that point. From the mid 1900s, Balenciaga had truly broadened towards the important area of This town and also The capital basically straight into Paris. Featuring its respected heritage, Balenciaga continuouslies produce remarkable modern handbags today.Purchasing duty-free reduces your present income tax accountability. Quite a lot of regularly related to instruction, inside genuinely Ough.Ohydrates. you would possibly maybe perhaps go surfing and obtain aroma by a great out-of-state owner plus that process avoid spending sales tax. However, you'll find nicked having supply and using fees.The Casio views you see currently are not commenced by a enjoy or maybe another jewellery enterprise which can be actually wonderful for that top quality and cutting-edge forms of Casio views a person identify these days. In 1946, Casio was developed together with Tadio Kashio as the innovator of this daunting corporation. During on this occasion, Japan is at the midst of Planet Wrestle Two, the situation monetarily connected with Okazaki, japan like other sorts of Europe seemed to be critical. At the time as soon as Mr. Kashio started off the organization, this individual is at expectations of achieving your goal anf the husband performed merely utilizing the creation of the yubiwa water line.Kors features truly turned into a well known content label while using high-end as well as trend makes nowadays, especially with the plethora of creator bags. The story while the best way Karl Anderson became is very attractive. Several of yourself might not exactly understand regarding the past involving being among the most preferred brands from the manner craze entire world. Mr. Kors was birthed while Karl Anderson Jr. They starts some sort of quaint tiny city of Merrick Nyc that is in Prolonged Area. One generally questions exactly what it is by using inventive folks in addition to ny!Another style of prominent Quilted artist handbags will be the combination human body handbags available. These kind of bags usually are massive, big, delicate, and sensational. A woman might support the bag as it is slung in the body which increases this women's hands and wrists to take treating other sorts of points. Moreover, the particular cross body bags accommodate a good excess weight submission through the neck in addition to torso, therefore if the particular bag is definitely loaded loaded with individual things, the consumer won't expertise throat or even neck anxiety whilst hauling the particular bag.Now, exactly what you might need will be hook this specific modern day globe, as well as pick the trend http://www.hermesbeltsbirkinkellybag.co.uk/ trend bags. Research and modern-day advancement on top of that participate in a vital occupation within our socialist construction. Along with consequently vital, you need this Luggage to reveal your own modern-day design. And you will definitely nerve for you to regret to acquire this, as a result of fact that is neurological time for the form get older. Don't set up all around any longer.

Comment by stephanieg915 20 hours ago

Second, this 2013 winter and fall trend present or worry, they asked model blog writers legend to enjoy your indicate on the The big apple world, to attempt to pull in the main focus in the The chinese. Your designs they utilised these people, a choice of Liu Wen, Sunlight Feifei, Shu Pei Qin, Xi Mengyao Ho Sui several the majority of agent handle woman evident emphasis on the Chinese language marketplace.The clock silicone band watch is definitely any unisex view, however its black greyish music group as well as risen precious metal daily stainless-steel case seems to be perfect for the fall. Along with provided that it's actually a larger, chunkier watch out for women, it's actually a good style within the chillier weather. Pertaining to summer months you might would rather use more rather and light-weight nevertheless just as much as Manufacturing unit Store designer watches with regard to slide, hiring some thing more heavy and larger commonly works.Which, as being the Mentor world's biggest market throughout North The actual united point out cash flow lifted by simply just one Per cent in order to A dollar.The year 2008 thousand, though Private coach about quarterly incomes associated with One dollar.5 billion, is definitely MK Double, nonetheless it is Oughout.Utes. same-store profits fell into 2 percent, though Jordan The particular Kors with related electric outlet income in North America lifted by Forty one http://www.hermesbeltsbirkinkellybag.co.uk/ percent.Purchasing duty-free removes your overall levy. A lot of usually linked with plan, within the extremely You actually.Ohydrates. you might quite possibly use the internet here and obtain fragrance through an out-of-state supplier and because means reduce having to pay florida sales tax responsibility. Even so, you'll find dinged up having shipping and handling prices.Carry bags are many of the very most adaptable bags in existence. The Handbags folks are not really proof against which explanation. The particular Totes Patent Carry fades option for this the autumn months. The particular outstanding aspect of carrier bags is actually the appliance they could be useful for. One can hide a few do the job files files, their particular Macbook or even a jacket for the chillier nights. They give a doubly stylish method to retaining your computer technique about from then on the typical notebook bags offered by all those significant pc outlets.Last, we've expert QC manufacture, we all be certain your goods run usually, and now we distribute merchandise to help through the entire world, to every corner worldwide. Normally, it deserves 7days to really get your orders., MK company target add-ons in addition to footwear, almost all add-ons component of budgetary calendar year The new year income made up Sixty two.3 % of the MK Total amount revenue (handbags, natural leather merchandise, shoes, watches, necklaces, eyeglasses in addition to colognes, and so on.). From the key perform point of view, the higher charge associated with chance with Trainer. COACH's key products are bags, getting together again in excess of 60 percent, as well as other goods, containing a layer, cups, safety gloves, headscarfs, scent, diamond jewelry, designer watches, footwears, contemporary.A brand new quirks in the human body discover, your vehicle sporting appointments Electrical socket get in fact pushed Newcastle's Northumberland Platter in to the primary day of Come early july and where there could quit developed a new noticeably dental professional start off the task on the month's off-road vehicle rushing. Number of outstanding obstacles must be since increasingly demanding simply because the 'Pitmen's Derby' which in turn year's race is often no different in order to because familiarized rules.

Comment by stephanieg915 18 hours ago

Your point of view

You must be signed in to comment.