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

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
Progress bar for MySQL import

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


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


Comment by sguerra376 2 days ago



























Comment by sguerra376 44 minutes ago

Your point of view

You must be signed in to comment.