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

quick integer CPU benchmark

Terminal - quick integer CPU benchmark
echo '2^2^20' | time bc > /dev/null
2009-02-06 02:31:55
User: mkc
Functions: bc echo time
1
quick integer CPU benchmark

This is a quick and dirty way to generate a (non-floating-point) CPU-bound task to benchmark. Adjust "20" to higher or lower values, as needed. As a benchmark this is probably a little less bogus than bogomips, and it will run anywhere 'bc' does.

Alternatives

There are 2 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

an enhancement is to provide '-p' for 'time', that way the output is standardized across various OS

Comment by romant 391 weeks and 1 day ago

Absolutely everyone plan to be search imaginative and trendy. But it's not really that simple and that means you must be an inventive and must understand for making by yourself search gorgeous and also beneficial. It is great for every individual to take a look pleasant however you must carry out a decision on what will be the almighty or terrible. If you go to bags, one must observe that that bag may go with the add-ons. Below we have been letting you know concerning one of many Tropical drink Bag that could opt for just about every of your respective outfits. It is the top quality bag which help you appear classy. Vogue can be something which can determine both you and your design. That way it will make you peer additional beneficial and good to find out.All we must accomplish should be to notice the type of bag you want to purchase. This really is just about all your own house decision. In the event you really have the flavor pertaining to bags, subsequently San francisco bay area bags are really built to that http://www.hermesbeltsbirkinkellybag.co.uk/ will. These types of bags are manufactured together with the excellent and all of the almighty materials are utilized to allow it to become a lot more sanitary. One can possibly identify that the actual bags are actually designed with just about all health care. The taste is fashioned with very good flavours what type is able to see, when you visit the corporation. The business can flip your current want to lovely and give you each of the prerequisites you want to help make because the one you have.All could which San fran the place to glance at the fantastic thing about the spot possesses the particular attribute to your option. The designers include the experts from all over the world and they understand how-to provde the authentic option and this is why it's possible to comprehend the utilization of that.Also the company has created this product for you to around the globe and they also learn how to ensure it is one of the best to suit your needs. They will use this varieties as well as other varieties of color or bag. You can notice that you will need to designed otherwise you. That way one can possibly perceives this bag have become interesting and you could notice is basically nice. In the event you do it now you'll be able to see the features in which dominate over these bags.So, next occasion when you have any decide to obtain a bag then come to this. The desire give you the range along with the finest bags that you've not viewed. So go to the corporation an feel great.

Comment by stephanieg915 1 day ago

Your point of view

You must be signed in to comment.