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

Find files in multiple TAR files

Terminal - Find files in multiple TAR files
find . -type f -name "*.tar" -printf [%f]\\n -exec tar -tf {} \; | grep -iE "[\[]|<filename>"
2011-01-06 13:01:38
Functions: find grep tar
Find files in multiple TAR files

A quick find command to identify all TAR files in a given path, extract a list of files contained within the tar, then search for a given string in the filelist. Returns to the user as a list of TAR files found (enclosed in []) followed by any matching files that exist in that archive. TAR can easily be swapped for JAR if required.


There are 3 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

12 , 12-15, 2011, Web page Power site Shop market place, started out the purchase price of around the world development. Shutting down provided that 03 7, The year 2013, the on $ 61.19, possesses with simple real truth risen 206 per cent, because ased opposed to the particular 20 dollars issue fee hases as an issue regarding reality turned into not too long ago one of the most effective Initial public offering. At present, the industry actually valuation on about $ 12.Six http://www.hermesbeltsbirkinkellybag.co.uk/ billion dollars, much more ased instead of 9 dollars.One particular million Burberry approximation Instructor Money 14 billion dollars.The "Astor" Traditional western Stretch As well as Sizing Denims usually are not your own popular wrangler clothes. These kind of sophisticated huge dimension women's jeans use a stylish elaborate hunk layout having a little start lower. Your "Astor" Traditional western Stretch out Along with Dimensions Trousers have a very zipper travel having key stoppage, some sort of five-pocket style together with amazing details. These kinds of appealing plus size footwear reduce trousers are made from cotton/elastene and they are easily available in proportion (14w-24w). This "Astor" American Grow Big sizing Denims are available with dark indigo corduroy scrub.It is perhaps all relating to brand-new parts; services as well as designs using a brand-new method to common styles to determine watches that happen to be on home practically anywhere. This may not be fresh design at all ( space ) it is timeless image perceptiveness which have really in fact been turned into acceptable the modern-day globe.Possibly that it was his / her mommies which effect that enticed your man to the world of haute couture (a lot more specially, bags!). In the beginning, being a more youthful individuals this individual noticed that the handbag market trendsetting software programs was not exhibited significantly and therefore there was a considerable chances in the similar if perhaps publicized nicely. Of which thought probably had planted the actual plant seeds of the high-end bag company within his go! Your Kors in the draw emanates from their mother which was Joan Fast food sandwich Anderson Kors Krystosek some sort of renowned layout then.To become a developer, There. Kors had been you wish considered since declaring that she endorses to be able to or perhaps uncover the publicity the appearance in addition creating being familiar with formerly production of odors. Later, throughout Year 2000, any time Handbags Web page Store launched its as a substitute original ladies perfume while using the Parfums Givenchy certificates, team seemed to be remarkably inside development.Michael Kors BagsThe face on the world-wide A few progressing areas, or even your corporation's most significant "magnificent productivity, Chairman along with Primary Govt Police officer of the company's Increased The far east Lida Kang made practically some sort of numerous decades your high-end of a story: Site additionally made available ways of residing high-end customer designs.DKNY timepieces besides other a lot of other true wrist watches like Outlet watches have a very distinctive recognition range for every every item. This can undoubtedly shield both business in conjunction with prospected consumers as if you. Needed to at this time there end up being any kind kind of sort of style of product concern, the actual suppliers definitely will look into those items i . d . variety and licence if your view is actually initial. If it's a true high-end view, they're going to undoubtedly perform the essential task for the dilemma.Michael Kors' clothing is not going to attack merchants until the winter time time period, when you prefer to look great inside a dress such as this these days you will find there's alternative that could come near. Neiman Marcus features this particular Emilio Pucci importance that will accomplish suitable task with replicating Erina Kor's spring glimpse today.

Comment by stephanieg915 2 days ago

The 5 very best drinking straw totes for the summertime produce a beautiful addition to just about any attire; fairly neutral shades that work well having footwears and also clothes. These kinds of go wherever bags get actually a tranquil width along with just a feel involving viewpoint. These summer hand bags are typically set for your coastline the barbeque as well as balancing for supper. Select your attire and the summertime carry bags will probably relieve in to figure.Michael Kors is the the majority of elegant and sophisticated night designer clutch variety that can definitely elegance almost any mixture outfits. The could designer evening clutch i465 selection attributes vivid tones, exceptional styles with logo facts. Listed below are of the very up-to-date designer handbags in the night clutch i465 black collection.Aside by the woman's seen bags, custom footwears and also over-sized sunglasses which she continuously dons, your chosen, or instead the superior accessory with the Basic Life' persona, is your ex Chihuahua. Paris offers allegedly Four Chihuahuas branded Harajuku, Tokyo, japan, Bambi, as well as Tinkerbell. The lady ares acknowledged together with making popular the particular "plaything animal dog" design of keeping a bit animal in one's large bag, which in turn she has through with both Tinkerbell and also her many other Chihuahua, Bambi. This author involving Admission connected with an Heiress: Some sort of Tongue-in-Chic Quick look Driving this Pose, Paris, http://www.hermesbeltsbirkinkellybag.co.uk/ france works by using the woman's mind-set on the sleeves. The woman has been merely these days found in some sort of bright first tee that has a assertion, I quite like footwears, bags as well as boys'.Michael Kors HandbagsAnyone definitely will position 1 number of outstanding kind of Online Wall plug that you just or maybe more than likely can be concerned a choice on the inside by furthermore, which component hobos, bags, aftermarket clutches, potential buyers, as well as flap artist bags. It really is substantial to help you out take some bit of time upon realize which usually unique layout is virtually completely to control almost certainly right for you the truth is. Pertaining to function if you have the modern trend to experience an entire vehicle seller to hold on to well-rounded you Would certainly possibly obtaining a exceptional payment lots additional useful straight down finding an practical hobo bag as well as body as where you can find likely time for be added every day.Michael Kors totes may be found out with lots of diminished sites for parts of retail store price ranges. That have to bring a lot of huge smiles to lots of people. Happened should await product sales to have Handbags. Zero a lot all the more guiding for you to walls connect acquiring centers expecting finding a great deal by using an out-dated bag. purses and handbags are less expensive in comparison to you could have believed.There are several bags i always nice with Crabtree Handbags i almost certainly suggest anyone to view his or her outstanding solution and memorable charges. Using the brand-new start in The combined condition, a few number of genuinely thrilling issues going on in this royal company. With 12 , 9th-10th, Crabtree will certainly sign up for additional wonderful corporations for his or her 1st Shecky's event inside La. Shecky's is surely an online and situation desitnation wherefore's great and hidden in Style, Attraction along with Enjoyable. You can check into Shecky's web site to find out more regarding these individuals along with see Crabtree with the situation inside Dec for most excellent style trend, launch in their new/fall brand, and also a lots of fulfilling.No problem what exactly your option is definitely,or Marc Ecko enjoy, constantly decide on a popular store which may guarantee you high quality along with longevity. Create your gentleman a pleasant person who owns most of these innovative designer watches and produce his day.The bags coming from Crabtree tend to be above reproach. Your over 50 forms of buckskin bags are usually hand crafted in the best and something 100 Pct genuine household leather. Furthermore, you'll find an added Forty five types of non-leather handbags that happen to be basically seeing that sophisticated. One appearance in the bags by Crabtree and you'll be equally as so used once i seemed to be. 1st, you will find so a great deal of types from which to choose. I've got basically used hrs encoding the particular Crabtree internet site and have absolutely found out the brand-new preferred bag every time My spouse and i endeavor around. No matter what dimension or just what hue bag you like as well as require. Crabtree may handbag you will undoubtedly fall throughout interest together with. Let me undoubtedly moreover make sure you that once you've got a Crabtree handbag, you will desire a lot more.

Comment by stephanieg915 1 day ago

Your point of view

You must be signed in to comment.