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

empty a file

Terminal - empty a file
echo > filename
2010-07-16 05:05:31
User: emacs
Functions: echo
-6
empty a file

Alternatives

There are 5 alternatives - vote for the best!

Terminal - Alternatives
> filename

Know a better way?

If you can do better, submit your command here.

What others think

file not will be empty.

but will contains a linefeed byte!

0x0a

Comment by bandie91 339 weeks and 6 days ago

Want to individual just one bag? In my opinion a lot of the advice will probably be indeed, why? Because series are extremely traditional which additional libraries cannot exceed yaplog miaui47 web site . handbag is usually the number one item in the center of many ladies, among this specific line, gets the modest dimensions, potential in addition to mobility, making sure that it's the great selection for each of our ex girlfriends. Mild measurement allow it to be essential item in life, websites as bad its unique appearance, that yaplog miaiio web site is a fantastic bit with hand-held, lovable but realistic dimension is absolutely keen on all sorts of elegant women of all ages.Louis Vuitton bag was created together with the modest and stylish coloring, that can provide us with a superb impression in the beginning eyesight, all-natural cowhide leather-based trimmings are widely-used because the add-ons, circular leather-based deals with are happy for individuals to carry.Even though the yaplog miawoai blog site seems like not so large, it provides a huge having potential. No issue which often part relative it is, you are going to enjoy yaplog lymia website ; it is toughness, beneficial charges, popularity as well as the feeling of wholeness are common competing.Brown color of bag is short for an original picture of LV handbags. Additional talking, bag is certainly one established kind, bag is acknowledged for the standard checkerboard pattern, moderate condition along with capacity.yaplog limia69 weblog provides several measurements, is easily the most ideal measurement for many people, that has ended up being the linked with that line, perhaps this particular company.Climbing the way back, shoulder blades deal is often a wonderful attempt with the province. Because i have never previously received taken part in this type of out of doors mobility, and as a consequence it is not gotten ready for such an poor hotel, if you see over hauling a new bag quickly, arms or legs go and make use of the actual high huge batch ascend,I'd been really intellect it is extremely green with envy regarding, a shopping bags usually can fit a thing make use of, the primary point we have found incorrect, the way the girl has been taking us either, I reckon that too long previously left behind.Last 7 days to join within an outside http://www.hermesbeltsbirkinkellybag.co.uk/ movement, inside hill i once i discovered the distinctive line of individuals, there's a woman carrying any produced design on the shoulders Sophisticated Capucines Bag, next, i believe they will impressed,and also, since heard just before isn't going to have shoulders deal, really does that mean in order to the woman shoulders this specific bag is usually a substantial bogus with the carry out?Since they're not too knowing, but may be the first-time we all attained, therefore i were forced to be patient his or her awareness, not to ever consult. Failed to expect that in the bag nevertheless you will still find shoulder blades deal.Click below to know additional aboutLouis Vuitton Stylish Capucines Bag

Comment by stephanieg915 6 days ago

Search through producer involving high-end Vacation resort Toiletries for high quality goods. As being a Holiday resort Slippers composed of washroom, place along with associated lodging goods varying from housework add-ons to help bags cabinets & trolleys.The web site is incredibly well-made along with distinguishes amongst the numerous varieties of bags offered available. For example, a transparent alteration in relating to the shoulder bags, throw bags along with financial constraints, and so on is completed. Bags having top deals with along with the exclusive manner tendency method choices are also sold. Replications . are undoubtedly made from your bags meant to carry travel luggage. Quite a few patterns and designs are readily available for your consumers to select from. Your website offers specific pics of the bags so your consumers can very easily decide just what exactly selecting to just get from all of the these people.Well, there's 2 categories of LV suppliers and also consumers who have found by themselves, over the timeframe together with a collection lots of successful income regarding genuine goods, which possess a variation recognized by a couple of "physiques".Mending: Keep in mind that dealing with your bag, whether or not it truly is as small seeing that changing this zippers can be high-priced along with time consuming. You are able to bring your real bag to your go shopping for fixes. This will certainly acquire anything from every week to a number of weeks for that complexed the actual repairs needed is as along with the many various http://www.hermesbeltsbirkinkellybag.co.uk/ other fixes careers likely performing at present. The fix charge may differ although to obtain a thought of the actual restoration bills, have faith in relation to shelling out near to hundreds of cash to repair the liner inside a wallet. Consequently, it is best to adhere to the saying involving 'deterrence is much better when compared with treatment' as well as consider great treatment of the bag right away.In his first appointment on the subject, Toledano described last week in which Zentai would certainly never end up as a identical copy connected with Dior, LVMH's 2nd most crucial vogue name brand immediately after wall socket.Last nevertheless definitely not the smallest amount of in the record, Ralph Lauren is often a developer associated with bags through the entire area for it's preppy, fashionable, as well as hip variations. The newest collection of Rob Lauren is one area that a lot of supporters connected with developer totes typically droll around.That combined "F" business logo will never be missed out on with any type of variety of designer bag aficionados. Using the Fendi clutch system or maybe handbag, anyone will surely appear beautiful and delicate.Some analysts even now skepticism regardless of whether LVMH, inside craze associated with treasure acquisitions in the delayed Nineteen nineties, compensated a significant amount of intended for Zentai in addition to ponder what sort of small business will definitely recoup the investment decision.

Comment by stephanieg915 5 days ago

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-taille-grand-ou-petit_112.html

http://www.canadagoosefemmehomme2016.fr/gants-canada-goose_312.html

http://www.canadagoosefemmehomme2016.fr/ou-acheter-canada-goose-en-france_308.html

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

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

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

http://www.canadagoosefemmehomme2016.fr/whistler-parka-canada-goose_309.html

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

http://www.canadagoosefemmehomme2016.fr/victoria-parka-canada-goose_338.html

http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-homme-prix_243.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-france-site-officiel_307.html

http://www.canadagoosefemmehomme2016.fr/doudoune-homme-canada-goose_366.html

http://www.canadagoosefemmehomme2016.fr/veste-canada-goose-femmes_189.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-homme_298.html

http://www.canadagoosefemmehomme2016.fr/site-officiel-canada-goose_432.html

http://www.canadagoosefemmehomme2016.fr/comment-reconnaitre-une-canada-goose_478.html

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

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

http://www.canadagoosefemmehomme2016.fr/boutique-canada-goose-paris_302.html

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

http://www.canadagoosefemmehomme2016.fr/goose-canada-pas-cher_140.html

Comment by sguerra376 2 days ago

www.canadagoosefemmehomme2016.fr/adresse-magasin-canada-goose-montreal_297.html

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

www.canadagoosefemmehomme2016.fr/entrepot-canada-goose_158.html

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-pbi-chilliwack-bomber_73.html

www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-bomber-pas-cher_465.html

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

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-femme-solde_457.html

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

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-site-officiel_188.html

www.canadagoosefemmehomme2016.fr/veste-canada-goose-femmes_189.html

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-femme_68.html

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

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

www.canadagoosefemmehomme2016.fr/boutique-canada-goose-montreal_456.html

www.canadagoosefemmehomme2016.fr/canada-goose-pour-enfant_217.html

www.canadagoosefemmehomme2016.fr/mystique-parka-canada-goose_229.html

www.canadagoosefemmehomme2016.fr/site-canada-goose_352.html

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

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

Comment by sguerra376 1 day ago

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/blouson-canada-goose-pas-cher_78.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-mystique-femme_179.html

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

http://www.canadagoosefemmehomme2016.fr/manteau-canada-goose-a-vendre_450.html

http://www.canadagoosefemmehomme2016.fr/magasin-canada-goose-a-paris_387.html

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-fourrure-amovible_71.html

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

http://www.canadagoosefemmehomme2016.fr/parajumpers-ou-canada-goose_87.html

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

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-suisse-prix_276.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-en-france_127.html

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-occasion-femme_282.html

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

http://www.canadagoosefemmehomme2016.fr/manteau-comme-canada-goose_226.html

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

Comment by sguerra376 1 day ago

www.canadagoosefemmehomme2016.fr/canada-goose-outlet-france_122.html

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

www.canadagoosefemmehomme2016.fr/canada-gooser_220.html

www.canadagoosefemmehomme2016.fr/veste-canada-goose-homme_474.html

www.canadagoosefemmehomme2016.fr/acheter-canada-goose-paris_406.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-grise-homme_468.html

www.canadagoosefemmehomme2016.fr/doudoune-femme-canada-goose-pas-cher_407.html

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

www.canadagoosefemmehomme2016.fr/ou-acheter-canada-goose_100.html

www.canadagoosefemmehomme2016.fr/canada-goose-montebello-parka_81.html

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

www.canadagoosefemmehomme2016.fr/doudoune-homme-canada-goose_366.html

www.canadagoosefemmehomme2016.fr/canada-goose-noir-homme_384.html

www.canadagoosefemmehomme2016.fr/veste-style-canada-goose_223.html

www.canadagoosefemmehomme2016.fr/canada-goose-camp-hoody_50.html

www.canadagoosefemmehomme2016.fr/parka-goose-canada_46.html

www.canadagoosefemmehomme2016.fr/ou-acheter-une-doudoune-canada-goose_348.html

www.canadagoosefemmehomme2016.fr/goose-canada-pas-cher_140.html

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

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

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

Comment by sguerra376 1 day ago

http://www.canadagoosefemmehomme2016.fr/magasin-d-usine-canada-goose_331.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-ou-parajumpers_414.html

http://www.canadagoosefemmehomme2016.fr/manteau-canada-goose-pas-cher_42.html

http://www.canadagoosefemmehomme2016.fr/femme-canadian-goose_104.html

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

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

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher-paris_354.html

http://www.canadagoosefemmehomme2016.fr/prix-doudoune-canada-goose_428.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher_455.html

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

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

http://www.canadagoosefemmehomme2016.fr/nouvelle-collection-canada-goose_451.html

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

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

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

http://www.canadagoosefemmehomme2016.fr/acheter-canada-goose-paris_406.html

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

http://www.canadagoosefemmehomme2016.fr/boutique-canada-goose-france_117.html

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

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

http://www.canadagoosefemmehomme2016.fr/constable-canada-goose_67.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-homme-noir_115.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher-france_142.html

http://www.canadagoosefemmehomme2016.fr/gilet-canada-goose_185.html

Comment by sguerra376 18 hours ago

Your point of view

You must be signed in to comment.