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

Add all unversioned files to svn

Terminal - Add all unversioned files to svn
svn st | grep "^\?" | awk "{print \$2}" | xargs svn add $1
2009-02-05 17:28:53
User: mk
Functions: awk grep xargs
8
Add all unversioned files to svn

Alternatives

There are 8 alternatives - vote for the best!

Terminal - Alternatives
svn status |grep '\?' |awk '{print $2}'| xargs svn add
2009-01-29 10:33:22
User: xsawyerx
Functions: xargs
13

checks which files are not under version control, fetches the names and runs them through "svn add". WARNING: doesn't work with white spaces.

svn add . --force
2010-01-28 10:10:08
User: sinjax
Tags: svn
2

With the force options the same results can be achieved

svn st | awk '{if ($1 ~ "?") print $2}' | xargs svn add
2010-06-19 03:07:26
User: sciurus
Functions: awk xargs
Tags: svn awk
1

No need for grep, let awk do the match. This will not behave properly if the filenames contains whitespace, which is awk's default field separator.

svn add $(svn st|grep ^\?|cut -c2-)
2010-01-28 09:48:46
User: inkel
Functions: cut grep
Tags: bash svn grep cut
0

This version makes uses of Bash shell expansion, so it might not work in all other shells.

Know a better way?

If you can do better, submit your command here.

What others think

Any financial system smells, however your style is identical. It must make it tough to search for the greatest artist brand names nevertheless can easily find the money for your necessities exactly like food items, let as well as natural gas. This is why many money protecting internet pages, easy on the wallet life style recommendations, as well as couponing came into common use once again a great deal.Also enhancing with international acceptance tend to be fashionistas through the use of discerning options striking on-line searching for their well-liked discounted inventor handbags. These types of uncomplicated fashion divas want trustworthy artist handbags suitable for precisely what they'd pay out along at the team providers. It doesn't have got desire for computer inexpensive knock-off plus artist handbags look-alike regardless of if the vendor is attempting in order to pawn these folks down as being the truth or even giving them whenever inexpensive "designer inspired" handbags and handbags along with counterfeit artist tunes brands.The On the internet makes achievable consumers to help you price tag assess and turn into a part of cost complements added easily, finding the best price tag for virtually any artist products they will really get. Even so, it has furthermore granted for some to try to deceive possible http://www.hermesbeltsbirkinkellybag.co.uk/ consumers on the web, selling an economical mop offs so as to innocent prospects whom presume they merely merely won a great deal for the brand new Marc Jacobs handbags when, the truth is, they are receiving a low-priced duplicate exploring bag.The essential things to try to recall perhaps there is currently is available safeties into position to risk-free consumers out of undesirable vendors over the internet. When you have discovered to safeguard a person, you actually comes with a a lot easier time receiving people amazing lower price inventor handbags you've attain enjoy without the presence of additional cost, stress, as well as scams.Shopping for Discounted Originator Handbags InternetIf you will end up new to acquiring lower price author handbags and various custom layout on the web, get involved in a bit of research so as to invest in away from almost any company on the internet. Most sites by way of example eBay already have good strategies into position in order to safe and sound consumers, their prices likely aren't the very best you will note online. Numerous your craigs list online circle vendors will probably be forced to increase their prices on account of price construction on the popular community auction website. Furthermore, quite a few this ebay online network suppliers possess personal shops of these outside using craigs list that are included with much better price ranges as a consequence of reduce fee involving executing their particular web-site more than a fee structures regarding craigslist and ebay and other pay-to-list websites.You may get the raised deal as well as have defenses understand what you are accomplishing this that one could simply click "Purchase".As straightforward although it seems, simply looking this owner's web-site is you have got to do so that they'll learn when you find yourself doing business with a great vendor that will give you actually real low-cost designer handbags and provides superb offers to your beloved design and style company products or maybe if you can wind up conned by using a negative vendor with a negative track record.

Comment by stephanieg915 3 days ago

What exactly is in fashion moves viral; the style marketplace finest indicates the actual modifying trend. In the event that developer costumes put in your style, select overstatement to express of which special handbags supplment your type record. A handbag matches your current dress along with footwear, putting acceptance for your general smartness. When you are able buy handbags online, specially those which might be distinctive throughout looks and styles, from your space, the reason why hang out shifting via store to store in a crowded shopping center as well as marketplace looking for the correct solution. Handbags, looking bags you can find a wide selection of all of them on the net for your satisfaction.Well what is accepted right now can be aged tomorrow, point out in a calendar month or higher. It can be designs shifts, change of colours, or simply http://www.hermesbeltsbirkinkellybag.co.uk/ just improvement in size. Getting a handbag is reasonable, to help you create new libraries towards the feline monthly. Opt for a searching software which displays the actual trendiest of products, one which works a reliable repayment gateway, the one that gives gross sales, special discounts, and other advantages of hour and hour. Receive authorized to savor advantages. Here you can't just acquire handbags on the web and also looking bags plus a variety selection of some other fine art solutions to boost your own home dcor in addition to classy clothes.Yes, you will discover handbags and searching bags that will state experiences. Only a few online shop presents this sort of assortment. Chances are you'll find just one retailer that displays these special merchandise available. Consequently, according to requirements, you can find a bag that says a tale. Themes, colours, materials, and also the stories that happen to be made in the particular art work will likely fascinate the crowd if you are moving around. Picture tweeting parrots, typical monuments, palaces, periods, animals, automobiles, or any other each day visuals getting locations as part of your handbags! Be your coveted by in the group incorporating this sort of distinctive components. Proceeding super-stylish needs just the right decision in addition to becoming imaginative. Once you land in the appropriate looking system, you can get handbags on-line such as purchasing bags which will definitely put colorings on your life.When many of us discuss showcasing vibrant hues and also amazing paper prints, there can be no better add-ons than shopping bags as well as handbags. Major bags are in movements today; moreover, these people enhance the features issue. If you are hanging out for an informal celebration, a get-together, or simply throwing in occupied industry sites and also public, ones bags are able to do the chatting for you!

Comment by stephanieg915 3 days ago

http://www.canadagoosefemmehomme2016.fr/doudoune-canadian-goose_205.html

http://www.canadagoosefemmehomme2016.fr/parka-canada-goose-langford_425.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-taille-s_327.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-kensington-parka-femme_448.html

http://www.canadagoosefemmehomme2016.fr/fourrure-canada-goose_70.html

http://www.canadagoosefemmehomme2016.fr/une-canada-goose_222.html

http://www.canadagoosefemmehomme2016.fr/canada-canada-goose_246.html

http://www.canadagoosefemmehomme2016.fr/veste-de-ski-canada-goose_162.html

http://www.canadagoosefemmehomme2016.fr/parka-canada-goose-occasion_186.html

http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-pour-femme_475.html

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-femme-prix_231.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-parka-langford_176.html

http://www.canadagoosefemmehomme2016.fr/femmes-canada-goose_281.html

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-promotion-france_98.html

http://www.canadagoosefemmehomme2016.fr/trillium-parka-canada-goose_108.html

http://www.canadagoosefemmehomme2016.fr/parka-homme-canada-goose_84.html

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

http://www.canadagoosefemmehomme2016.fr/blouson-goose-canada_195.html

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

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

http://www.canadagoosefemmehomme2016.fr/acheter-une-canada-goose_177.html

Comment by sguerra376 1 day ago

www.canadagoosefemmehomme2016.fr/pas-cher-canadian-goose_219.html

www.canadagoosefemmehomme2016.fr/canada-goose-victoria-pas-cher_211.html

www.canadagoosefemmehomme2016.fr/la-canadienne-canada-goose_294.html

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

www.canadagoosefemmehomme2016.fr/une-canada-goose_222.html

www.canadagoosefemmehomme2016.fr/manteau-canada-goose-enfant_405.html

www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-enfant_431.html

www.canadagoosefemmehomme2016.fr/canada-goose-homme-pas-cher_440.html

www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher-femme_305.html

www.canadagoosefemmehomme2016.fr/canada-goose-cramoisi_47.html

www.canadagoosefemmehomme2016.fr/casquette-canada-goose_134.html

www.canadagoosefemmehomme2016.fr/mystique-canada-goose_343.html

www.canadagoosefemmehomme2016.fr/canada-goose-point-de-vente_371.html

www.canadagoosefemmehomme2016.fr/canada-goose-toronto-outlet_483.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-parka-homme_339.html

www.canadagoosefemmehomme2016.fr/magasin-canada-goose-france_216.html

www.canadagoosefemmehomme2016.fr/prix-d-une-doudoune-canada-goose_390.html

www.canadagoosefemmehomme2016.fr/canada-gooser_220.html

www.canadagoosefemmehomme2016.fr/canada-goose-vente_95.html

www.canadagoosefemmehomme2016.fr/parajumpers-canada-goose_203.html

www.canadagoosefemmehomme2016.fr/canada-goose-parka-trillium-femme_429.html

www.canadagoosefemmehomme2016.fr/canada-goose-au-canada-prix_54.html

www.canadagoosefemmehomme2016.fr/canada-goose-langford_320.html

Comment by sguerra376 1 day ago

www.canadagoosefemmehomme2016.fr/canada-goose-toulouse_459.html

www.canadagoosefemmehomme2016.fr/canada-goose-hybridge-hoody_382.html

www.canadagoosefemmehomme2016.fr/revendeur-canada-goose-paris_266.html

www.canadagoosefemmehomme2016.fr/yorkville-canada-goose_463.html

www.canadagoosefemmehomme2016.fr/canada-goose-kensington_86.html

www.canadagoosefemmehomme2016.fr/manteau-type-canada-goose_369.html

www.canadagoosefemmehomme2016.fr/canada-goose-chateau-parka_247.html

www.canadagoosefemmehomme2016.fr/canada-goose-nantes_367.html

www.canadagoosefemmehomme2016.fr/manteau-canada-goose-femme-pas-cher_472.html

www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-femme_191.html

www.canadagoosefemmehomme2016.fr/canada-goose-site-officiel_57.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-france-boutique_218.html

www.canadagoosefemmehomme2016.fr/citadel-parka-canada-goose_62.html

www.canadagoosefemmehomme2016.fr/canada-goose-montreal_267.html

www.canadagoosefemmehomme2016.fr/canada-goose-couleur_471.html

www.canadagoosefemmehomme2016.fr/vetements-canada-goose_64.html

www.canadagoosefemmehomme2016.fr/canada-goose-com_213.html

www.canadagoosefemmehomme2016.fr/canada-goose-vrai_249.html

www.canadagoosefemmehomme2016.fr/magasin-canada-goose-france_216.html

www.canadagoosefemmehomme2016.fr/canada-goose-bleu_63.html

www.canadagoosefemmehomme2016.fr/ecusson-canada-goose_168.html

www.canadagoosefemmehomme2016.fr/montebello-canada-goose_148.html

www.canadagoosefemmehomme2016.fr/solaris-parka-canada-goose_110.html

www.canadagoosefemmehomme2016.fr/canada-goose-blouson-aviateur-chilliwack-homme_321.html

Comment by sguerra376 16 hours ago

Your point of view

You must be signed in to comment.