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

Progress bar for MySQL import

Terminal - Progress bar for MySQL import
pv -i 1 -p -t -e /path/to/sql/dump | mysql -u USERNAME -p DATABASE_NAME
2012-02-06 08:16:55
User: wr8cr8
5
Progress bar for MySQL import

Print out the progress of MySQL import using the pv command. Updates every second.

Alternatives

There is 1 alternative - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

The -l parameter of pv switch it to line mode

pv -petli 1 /path/to/sql/dump | mysql -u USERNAME -p DATABASE_NAME

Comment by f4m8 258 weeks and 3 days ago

When pop is out along with little one, vacant planning to desire to bring mothers girly newborn bag along with your pet. Fortunately, right now baby diaper bags are available masculine colors and designs. Just about the most common designs intended for pop could be the camouflage clothing or camouflage style and design.Unique and stylish, nappy bags throughout camouflage styles are great for dad. Select a good town style kind of bag just like a backpack, courier bag or throw bag with of a man camo design and you will not be able to notify it is in truth your baby bag.For those people who are bored with the simply look of newborn bags, any camouflage layout is a superb selection. In case you have been in your assistance, any camo little one bag is good regarding featuring your defense force record. Once you believe camouflage clothing you regularly assume natural. But these camo bags can be found in many different colorings. Beyond the traditional environmentally friendly camouflage, you can get them with grey, suntan, orange, dark-colored along with orange designs. Listed here are two bags that happen to be perfect for dad.Camo Bookbag Nappy Bag - Created from resilient bamboo this kid bag can be developed exclusively for dad. It arrives with an intense orange on the inside along with nylon material security in order to retain things strongly available. You'll find big indoor compartments for baby wipes along with pampers diapers, plus a couple abs slots pertaining to scaled-down merchandise. All backpacks are easy to grab if you would like these people. Nylon support likewise presents added convenience. The little one diaper bag features a fold up pad to alter child while out and about. This specific bag is great for busy on-the-go http://www.hermesbeltsbirkinkellybag.co.uk/ fathers.Diaper Guy Little one Bag : This baby diaper service provider is provided with congratulations via shoppers. 15 purses preserve just about all items organized effectively. And it has a few exterior zipper spaces for quick entry. Other sorts of characteristics include a completely removable telephone situation, external bottle of wine jean pocket, in addition to films to keep secrets with so you certainly not misplace them. The actual bag is created of much more pvc and contraptions through the chest area with regard to convenience and comfort. Your bag offers some sort of altering mat.Remember father if you are searching for little one! Make sure to here is another outstanding little one bags simply for him or her.

Comment by stephanieg915 3 days ago

Choose most affordable bean bags on the web choice. There's a lots of alternatives readily available like one thing for kids and people equally. Take your time to check out the a variety of options accessible that can certainly make sure best home furniture things that meet your requirements and. Together with the interest in vegetable bags growing in the modern times, makers have begun giving many different options to this consumers, consisting of sizes and colors. Little ones bean bags tend to be small in proportions and in addition they come in number of brilliant shades to make certain optimum fun to your teenagers.The most essential thing for vegetable bags is that you can possess lots of exciting using these things that is not possible along with other http://www.hermesbeltsbirkinkellybag.co.uk/ pieces of furniture. These types of environmentally friendly portions are ideal for all kinds of scenario. For instance, buckskin coffee bean bags are classy looking portions that guarantee large quantities of comfort as well as a possibility to put glamour and sophistication to the place. Invest time to feel the selections available online and locate an issue that performs wonderfully to all take care.With bean bags seating relaxing in style, comfort becomes a natural where you can choose from your number of selections. This particular increases the look of any area without problems. Have the alternatives to locate some thing, that is the correct in keeping with your finances in addition to necessity. Locating something works perfectly will not be complicated, especially with on the web method going to the particular relief of people just about everywhere. Trendy beans bags usually are your own property to select and use because you be sure to, since they're boost the appearance of the place.High top quality, affordable furniture is yours for those who have fantastic home furnishings as beans bags. Consistent with the enormous interest on high-quality items right now, which might be low as effectively, furniture on the net provides become a possible option. Take the time to glance at the buying process and consequently you'll discover one thing, that's well suited for your house circumstance in every respect. People that wish to provide one impressive attribute with their household situations don't need to seem past ideal coffee bean bag. This can be a amazing inclusion in every circumstances, providing you with invest in pleasure with regard to situations ahead. There many items available nowadays, that happen to be inside newest styles and make build awareness to begin opportunity. Obtaining what you want is not complicated supplied what happens you need. There are rewards in order to custom home furnishings as they will help you to make the right perception on the visitors and provide the pleasure of getting a rightly appointed house. You should remember that opting for the budget contemporary home furnishings constantly might not be some sort of feasible choice since this can lead to undermining on the high quality element inside your buy. Therefore, looking for top quality luxurious furnishings is a great alternative, which often can assure satisfaction along with entire value for the money invested.

Comment by stephanieg915 3 days ago

www.canadagoosefemmehomme2016.fr/canada-goose-fabrication_275.html,www.canadagoosefemmehomme2016.fr/canada-goose-taille-xs_224.html,www.canadagoosefemmehomme2016.fr/parka-canada-goose-homme_376.html,www.canadagoosefemmehomme2016.fr/manteau-canada-goose-femme_44.html,www.canadagoosefemmehomme2016.fr/canada-goose-femme-grise_145.html,www.canadagoosefemmehomme2016.fr/canada-goose-expedition-homme_207.html,www.canadagoosefemmehomme2016.fr/entrepot-canada-goose_158.html,www.canadagoosefemmehomme2016.fr/canada-goose-chelsea_326.html,www.canadagoosefemmehomme2016.fr/manteau-canada-goose-pas-cher_42.html,www.canadagoosefemmehomme2016.fr/canada-goose-homme-parka_111.html,www.canadagoosefemmehomme2016.fr/parka-canada-goose-chateau_400.html,www.canadagoosefemmehomme2016.fr/parka-canada-goose_120.html,www.canadagoosefemmehomme2016.fr/canada-goose-new-york-price_202.html,www.canadagoosefemmehomme2016.fr/canada-goose-bebe_436.html,www.canadagoosefemmehomme2016.fr/gilet-canada-goose_185.html,www.canadagoosefemmehomme2016.fr/canada-goose-victoria-parka_462.html,www.canadagoosefemmehomme2016.fr/canada-goose-trilium_181.html,www.canadagoosefemmehomme2016.fr/canada-goose-victoria-pas-cher_211.html,www.canadagoosefemmehomme2016.fr/citadel-parka-canada-goose_62.html,www.canadagoosefemmehomme2016.fr/prix-canada-goose-new-york_215.html,www.canadagoosefemmehomme2016.fr/canada-goose-entrepot_141.html,www.canadagoosefemmehomme2016.fr/canada-goose-parka-langford_176.html,www.canadagoosefemmehomme2016.fr/solaris-parka-canada-goose_110.html,www.canadagoosefemmehomme2016.fr/canada-goose-rennes_423.html,www.canadagoosefemmehomme2016.fr/blouson-canada-goose-femme_143.html,www.canadagoosefemmehomme2016.fr/chapeau-canada-goose_238.html,www.canadagoosefemmehomme2016.fr/canada-goose-blanche_295.html,www.canadagoosefemmehomme2016.fr/canada-goose-jogging_460.html,www.canadagoosefemmehomme2016.fr/canada-goose-bleu_63.html,www.canadagoosefemmehomme2016.fr/canada-goose-doudoune-sans-manche-homme_291.html,www.canadagoosefemmehomme2016.fr/canada-goose-taille-grand-ou-petit_112.html,www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-femme_68.html,www.canadagoosefemmehomme2016.fr/goose-canada-pas-cher_140.html,www.canadagoosefemmehomme2016.fr/canada-goose-achat_221.html,www.canadagoosefemmehomme2016.fr/parka-homme-can

Comment by sguerra376 2 days ago

http://www.canadagoosefemmehomme2016.fr/magasin-canada-goose-paris_39.html

http://www.canadagoosefemmehomme2016.fr/huron-bomber-canada-goose_335.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-prix-usa_359.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-modele-victoria_409.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-enfant_264.html

http://www.canadagoosefemmehomme2016.fr/logo-canada-goose_138.html

http://www.canadagoosefemmehomme2016.fr/vente-doudoune-canada-goose-femme_197.html

http://www.canadagoosefemmehomme2016.fr/constable-canada-goose_67.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-lyon_237.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-verte_154.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-authentique_434.html

http://www.canadagoosefemmehomme2016.fr/chilliwack-canada-goose_485.html

http://www.canadagoosefemmehomme2016.fr/nouvelle-collection-canada-goose_451.html

http://www.canadagoosefemmehomme2016.fr/constable-parka-canada-goose_97.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher-france_142.html

http://www.canadagoosefemmehomme2016.fr/veste-canada-goose-solde_198.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-200_411.html

http://www.canadagoosefemmehomme2016.fr/skreslet-parka-canada-goose_469.html

http://www.canadagoosefemmehomme2016.fr/manteau-femme-canada-goose_248.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher_455.html

http://www.canadagoosefemmehomme2016.fr/tuque-canada-goose_439.html

http://www.canadagoosefemmehomme2016.fr/site-officiel-de-canada-goose_435.html

http://www.canadagoosefemmehomme2016.fr/boutique-canada-goose-paris_302.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-logo_212.html

http://www.canadagoosefemmehomme2016.fr/shelburne-canada-goose_418.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-fourrure-coyote_244.html

Comment by sguerra376 44 minutes ago

Your point of view

You must be signed in to comment.