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





Maintained by Jon H.

Site originally by David Winterbottom (user root).

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

Random unsigned integer

Terminal - Random unsigned integer
echo $(openssl rand 4 | od -DAn)
2010-11-09 14:55:39
User: putnamhill
Functions: echo od
Random unsigned integer


There are 6 alternatives - vote for the best!

Terminal - Alternatives
echo $RANDOM
2010-11-09 09:57:44
User: depesz
Functions: echo
Tags: random

works at least in bash. returns integer in range 0-32767. range is not as good, but for lots of cases it's good enough.

od -N 4 -t uL -An /dev/random | tr -d " "
2010-11-09 07:57:16
User: hfs
Functions: od tr
Tags: random

Reads 4 bytes from the random device and formats them as unsigned integer between 0 and 2^32-1.

curl -s "https://www.random.org/cgi-bin/randbyte?nbytes=4" | od -DAn
2010-11-09 18:26:24
Functions: od
Tags: random

Grab 4 bytes from www.random.org over ssl and format them as an integer

Know a better way?

If you can do better, submit your command here.

What others think

MK can be a luxurious brand name containing really obtained the very good credibility. Honors such as the CFDA Women's Clothier of year throughout 2004, the particular CFDA Guys Type Programmer of the Year within 2002 as well as the CFDA Life Accomplishment Award really demonstrate the world the reason why your MK's variety is usually a pressure being reckoned together with. professionally has a supervision obligation in the format coming from all items. Maybe that's why the brand offers really started to inflate along with attract in order to a real massive market. His / her observe variety offers experienced sense of top quality and beauty that may appeal fans for quite a while to return.Take bags are a couple of by far the most versatile bags close to. The Handbags close relatives will not be proof against that will description. The particular Hand bags Certain Bag fades pick for your the autumn months. Your exceptional matter about take bags is perhaps all the applying they could be used by. It's possible to store a few career file files, their particular Macbook or simply a jacket for the cooler night time. They give an even more popular method of having your pc all-around after that the fundamental notebook bags provided from individuals key computer system stores.Also range from You actually.Utes., Private coach, north of manchester U . s . market place, nonetheless furthermore the key function. 2013 monetary calendar year finishing November Up to 29, Next year, released in Present cards this http://www.hermesbeltsbirkinkellybag.co.uk/ year, Trainer, nevertheless it is catagorized small: Q2 regular earnings elevated 4 percent for you to One dollar.5 various billion, A dollar.Half-dozen billion lessened compared to industry predicted.Anyone fully grasp that you great amazingly important just get next day, make certain you acquire adequate acquire some relaxation. Of course, a new not virtually enough remainder will unquestionably sorts create decrease in point of view, which could wounded this also with the provides you specially obtain. Receive a t least 8-10 hrs of remaining the night before any time a picture capture.The newest speak on the driveway is the Wall plug Location 2014 Variety. The idea contains several of the Hands Comes Present day using a 21st Century handle sleek 1970's ratios. Kors will take fairly neutral colors as well as makes them stand out having shine.The most popular ceramic watches for women using this assortment features a sensational mother-of-pearl contact and that is usually studded using deposits to add additional attention most of these captivating wristwatches. Several of the the majority of amazing watches through his collection attribute your MK Rose Precious metal Watch and also the MK White colored Ceramic Wristwatches for girls using Mum connected with Treasure Contact as well as Precious metal Glamour.Initially beginning from his or her own garments series, he or she before long had been a identify to be able to consider from the style current market. Many of the major store outfits shops worldwide commencing furnishing his apparel collection for ladies thus the level of popularity extended. Women all through the earth appreciated the process their clothing would match themselves and shortly he / she extended an acquaintance base in which presented the most important famous people around the world.Sewn Bags - Some type of stitched clutch i465 or maybe mini-handbag gives an awesome angle for an normally critical collection. Look for stunning exclusive types together with crayon-inspired tones to get a make use of kid a long time days and nights. That critical Fendi Stitched Baguette may attain consumers away from for the ideal start out.

Comment by stephanieg915 5 weeks ago

Vegetable bags have been well-known in excess of 3 decades in addition to kept liked. However it is gross sales jumped from the Eighties in addition to Nineteen nineties the good news is, consumers evolved into interested in it's benefits. These people realized this beneficial effects employing the idea everyday with mental and physical wellness.Bean bags certainly are a entertaining and comfy furnishings to use inside your home. You can actually crash and also fall onto it. It is like being placed in a big fluffy cloud that is inviting so that you can certainly sit down effectively upon it and also be relaxed. You'll have the sensation of being hugged and snuggled simply because it is in accordance your system.Bad relaxing position is among the aspects of which contribute to head aches, mutual and also returning pains, fretboard pains as well as depression. It becomes an exceptional ergonomic office pieces of furniture for many who have problems with these types of ailments. This relieves lean muscle and mutual strain that perhaps knowledgeable via continuous using a typical lounge chair for the duration of perform. This sort of lounge chair is actually recommended by simply medical professionals for a number of reasons. In line with them, it provides a lot more overall flexibility to its renter in sitting roles, permitting him to adjust his human body perfectly and also take it easy as well as be employed in any way to suit him or her. It also cradles this backbone when you sit on http://www.hermesbeltsbirkinkellybag.co.uk/ this thus it stimulates healthy posture which reinforces your wellbeing.This makes the perfect chair pertaining to expecting mothers. They often times struggle to be comfy in the normal seats. Immediately after delivery, it is still a common selection for nursing jobs moms that requires pliability in location themselves along with the baby through providing.The mind overall health can take advantage of this too. Research state that the item lowers depressive disorders in addition to psychological strain. The item also reduces headaches given that position promotes much better circulation from the program. This can be a primary reason the reason medical doctors usually are adding beanbags to their centers along with practices to enhance inside healing.This is usually beneficial to autistic youngsters who suffer from hypotonia, a disease of which damages muscle in addition to leads to lean muscle along with neural ailments. It offers any low-cost beneficial alternate for the kids that are suffering coming from sensory digesting problems. It's essential for weight-bearing physical exercises including weight-lifting using their arms and legs. This supplies physical reviews in which helps with a relaxing environment for your youngster to set up while keeping your focus his ideas and feelings.Buying beans bag on the web or even from stores provides each owner ease and comfort. They could can be found in various materials, dimension, colours as well as this fillers in though the comfortable think is still there. It'll always assure exciting, stillness and long numerous years of feeling relaxed.

Comment by stephanieg915 5 weeks ago



























Comment by sguerra376 4 weeks and 5 days ago

























Comment by sguerra376 4 weeks and 4 days ago


























Comment by sguerra376 4 weeks and 3 days ago

























Comment by sguerra376 4 weeks and 2 days ago


























Comment by sguerra376 2 weeks and 1 day ago























Comment by sguerra376 2 weeks ago


























Comment by sguerra376 1 week and 6 days ago




























Comment by sguerra376 1 week and 6 days ago

Timepieces, relogios, team commenced with girls dress in. A new collection with aspects seemed to be furnished inside 2001. In partnership with Traditional this has been abided by by the assortment of timepieces throughout 2005. Memorializing thirty extended instances in the design and style very little organization chance, the particular MK draw is actually successfully set up up & associated with correctly actually is rather excellent from inexpensive inquiring cost.Take bags are among the most http://www.hermesbeltsbirkinkellybag.co.uk/ variable bags about. The web Go shopping family member just isn't unsusceptible that outline. Your Hand bags Certificate Handbag is out selection for the particular autumnal equinox. The outstanding point stressing take bags is all the application they might be useful for. Anybody can maintain a number of career files ringbinders, their Apple macbook and even a sweatshirt to the cool evenings. They feature an additionally much far more stylish process to holding your computer all around following that the fundamental a small note book bags supplied at people considerable computer system outlets.Michael Kors BagsFat decrease a handful of the top custom bags offered this brand-new autumnal equinox interval. Custom made bags succeed add-ons that are more likely to boost your autumnal equinox space for storage room.Continuously considerably from actually poor within the hue ceramic porcelain tile through the entire rest room. Despite the undeniable fact that this device might be experienced fantastic along with organize nicely using excellent best parts, cleanup is merely fairly exhausting. Film through cleansing consultant and splashes using heavy steam may possibly now have your own flooring cup clay floor tiles locating uncouth generally regarding regardless of whether you can just cleaned they will. Select a lesser amount of considerably and far lighter tinted floor covering floor tiles to have a clear fully fantastic Handbags search however potty.The Skorpios bunch of carriers by this artist needs a different procedure to help shutting down the most efficient. This substantially styled small consider has any developed or perhaps drawstring leading that creates an stimulating composition for the entire item. This folded takes care of are generally stressed using metallic clasps throughout silver and gold coins. This particular bag emerges in a lot of hues presenting black, white as well as a material rare metal.Company inside design with all the Skorpios Python Client. That innovative builder bag provides side purses, long braided best handles using wedding rings, intertwined tassel specific, and also python design through with a lot of space intended for weekend break buying sprees. Your Skorpios Python Client can be purchased in all-natural (brown/white) python using vibrant magic tone products. Observe on the internet with regard to availableness.When this back links to watches, there are not many evaluations to some Bags Website Porcelain ceramic Observe. Besides is the signature identify related to costs and detail, any Earthenware Check out is understood for sketching awareness of the particular biceps and triceps of leading celebrities in addition to Hollywood stars.Examine the web search engine ranking positions on the On the net Site" While you search the Internet when getting footwears, examine the buy of business connected with website that show up in foremost search rankings in the web based on-line online search engine final result page. With illustration you want particular Footwears outline of which while searching matter.

Comment by frigby278 1 week and 3 days ago

Unless of course you are meaning to spend a fortune, notebooks are certainly not typically really stylish. It is apt to be a rather plain dark rectangular shape that doesn't precisely create a bold fashion declaration, although you could possibly get a tool that includes a first rate level of handling electrical power for a several hundred dollars. This won't, nevertheless, suggest that you should step down yourself to carrying around something entirely unexciting. In order to spice some misconception a time however keeping the electronic devices protected, there are superb personal computer http://www.hermesbeltsbirkinkellybag.co.uk/ messenger bag that hopefully will possibly be both well-designed and also exciting. There are excellent pc bags that will end up being each functional and entertaining if you need to spruce some misconception a little while however keeping the electronic devices risk-free. By considering how big you're going to want, you'll want to commence. Rise reasonably easy to exercise in the event you curently have the pc, mainly because bags can be bought good size the product they're designed to keep. This is actually a necessary details. Palm bags suitable for laptops commonly include pockets that are especially padding as well as intended as schedule for that pc on it's own. If you get engineered to be not big enough, the idea certainly will not likely healthy by any means. Built to be too big can rebound close to in a manner that aren't ideal for the particular gadgets on the inside, which enable it to result in the encourage to be able to tuck much more issues in to the identical spot which could retain scuff marks as well as other undesirable marks.Other , notebook computer circumstances include a wide range of styles. They are often produced likebriefcases in addition to bags, messenger bags, along with sorts of bins completely. Additionally arrive in various patterns. Dark as well as other neutral colours are incredibly widespread from the brief-case bags, internet site . are often popular with people who need one thing to look at to operate that's not too wilds. You can actually come across models including brilliant colours,flowers as well as lines, in addition to and also other forms of designs, however inside the other designs.Whether you will be looking for Personal computer Instances or pill instances, you won't need to decide you to ultimately positioning your money directly into a little something dull. Together with a great deal more those who want a mobile computer because it is merely fantastic to have and not since they are transporting that solely regarding operate, producers are aware there are a variety involving young persons holding products close to right now. They're offering a number of designs of which rivals what you are able discover in just about any clothes keep, even though on the other hand such as the cushioning, especially type of storage compartments, and other more wallets and handbags which will make most of these side bags therefore adaptable and hassle-free.

Comment by frigby278 5 days ago

When you assume involving girls health and fitness center bags, you quickly presume of your well-designed more compact health club bag which satisfies the objective of holding health club clothes, toothpastes, excessive footwear, any finances or perhaps small side bag, along with perhaps the light source jacket in case that rains.Designed designed for the lady and females, the common gym bag is designed throughout amazing colorings, by far the most up-to-date type and also resources. A bit much lighter, it matches the woman's structure superior compared to the weightier person's bag does indeed. In addition, the feminine bags get added abilities and numerous storage compartments to carry exclusive things.The great wide variety relies upon with the girl as well as the girl lifestyle : the woman's money, personal model, precisely what level of health club exercises your woman will, just how specialist she's when it comes to additional steps and naturally, just what style she's throughout bags!What's desired by one particular person might not be similar to by a few other folks, this kind of could be the entire world we all are now living in. Women of all ages are usually versatile, therefore the girl could retain several distinctive developed bags circular to suit the woman feelings as well as manner interest inside time. Likewise, your bag would like to normally end up being drinking water resistant to reject dampness as well as mineral water in case the woman showers about the gym.Several proceed straight on the health club from your home or perhaps function. This calls for possessing a correctly created bag to maintain near throughout the day, fairly classy even so not to expensive.The bag also needs to find scaled-down in dimensions, lighter weight to hold on to http://www.hermesbeltsbirkinkellybag.co.uk/ about, along with really should be lightweight for easier storage however at work. The colors with regard to ladies health and fitness center bags signify the woman's female facet * red, gentle lime scale, mineral-washed natural jean material, bowler side bags, yoga and fitness bags and individuals having trademarks to them. The material is likewise unique, such as carrier bunch, health and fitness center totes, duffle bags, bowler side or perhaps the common buckskin variety.An essentially appropriate location to go shopping for ones females fitness center bags is always to use the internet - a wide open location to looking throughout the world without requiring causing your privateness with your household. Ladies are typically lookup involving some thing remarkable as well as that no-one different features. There is practically nothing a lot better than Net shopping for an merchandise which can be almost through the world on half the significance you typically might pay. It actually are unable to have any over that, can it? Toss a little bit no cost delivery with combined with bag purchase is yours.Women's gymnasium bags create superb reveals for outdoor ladies or even ladies who definitely are productive. Through shopping on the web, you may show up in excess of the present designs and find out what exactly is on sale as part of your popular designs and colors. You will find lots of forms to make the decision out and about, it could well be ideal to send out a number of ideas and find out in the event that she may decrease some ways to assistance final decision making.

Comment by frigby278 4 days ago

From Top 1 Handbags, each of our imitation bags store true works of art. Our own specialist industry experts have painstakingly replicated every previous details, to your tough brass computer hardware, zippered inner surface wallets, authentic logo, and also secure hook closure. Attributes after the unique journey bits that will appeared on the property, this must-have reproduction tote is definitely ensured to change brains. Whether you're investing in a crowning merchandise for ones very own purse selection and have a memorable current strategy for the clutch system addict in your life, you can't don't succeed using this type of copy handbag.Concerning your conventional styles involving LV, we do not point out your company logo style and design, about the comparability; many of us talk about the actual multicolor pattern, that was manufactured by Takashi Murakami, he or she is the actual modern-day performer connected with Japan, employing their creativeness and output, this individual made the various flower designs, after that led to this bags, the entire photograph associated with lv grow to be dazzling as well as energetic, a lot more compelling in comparison to in the past. Subsequently, they combined the multicolored bloom styles with speedy string, therefore the professional perform shown up.Reason Just one: Back pack Rapid 30 Bag which consists of known initialed or monogrammed canvas and also classic silhoette can be inside design for years and years right now, while an individual get the idea, you can be assured it's going to certainly seem popular along with style providing you get it (is not usually the situation, specifically together with the that bags of year, similar to this summertimes Prada red line hobo and so on.After of which within the 20's, bags genuinely arrived at its. There seemed to be much more selection with regard to types, products, decorations and also shades'"as a point of reality, one of the most well-liked handbags via in which length of time resembled Cotton art, the tribute for the revelation in the grave involving Tutankhamun.For example, you may make a distinction natural buckskin type froms; LV works by using oxidizing pure http://www.hermesbeltsbirkinkellybag.co.uk/ cowhide natural leather which ends way up being dim precious metal baby color with all the penetration of their time. This particular variances the actual plastic-type item that characterizes natural leather type utilized by many counterfeiters. False backpacks are continuously distinctive from the particular exclusive styles through LV; it will require a qualified particular person never to decline person. Simply know that LV can't condescend to your almost low-cost product for the fashioning in their expensive objects; almost everything much less connected with quality is often a replica. Do not be robbed through the basic picture involving LV business logo; acquire more detailed and think about the top quality and also the strategy for the placement in the emblem.The full file involving France perfumery focuses in these two syllables, Guer-lain. In the 2nd Empire together with towards the Belle Epoque, the Roaring 20's and also the postwar duration, several generations connected with perfumers took the succession inside the Guerlain household, proven simply by Pierre Franois Pascal. Since initial specialty retail outlet ended up being showed with Venice, with 1828, this company has had area extending their brand of perfume for men. Today, it's got 7 unique dress outlets within Paris, france, with in the same manner exceptional stores within Milan, Frankfurt, Tokyo, japan, Singapore as well as Hong Kong.Madonna: Throughout January involving '09, the content Lady has been positioned on trades of the latest York holding a great extra-large logo design bag. When registered the woman's metallic cosy sweater, jeans, and also fur-accented level, the actual colourful bag produced strong trend tendency statement.Jessica Simpson: Among the label's nearly all devoted consumers, Jessica may be caught with motion picture plenty of times that has a converting range of good-looking bags. Your ex series incorporates your Company logo Cloth Dog Carrierits unique hair styling as well as useful function causes it to become an ideal conveyor for her beloved pooch, Sissy. She actually is furthermore already been viewed possessing your sporty Denims Neo Fast, consisting of old denim that is certainly hand-washed to have an unrivaled appear.

Comment by frigby278 4 days ago

Your point of view

You must be signed in to comment.