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

Unix alias for date command that lets you create timestamps in ISO 8601 format

Terminal - Unix alias for date command that lets you create timestamps in ISO 8601 format
alias timestamp='date "+%Y%m%dT%H%M%S"'
2009-02-20 23:18:30
User: olifante
Functions: alias
12
Unix alias for date command that lets you create timestamps in ISO 8601 format

I often need to add a timestamp to a file, but I never seem to remember the exact format string that has to be passed to the date command to get a compact datetime string like 20090220T231410 (i.e yyyymmddThhmmss, the ISO 8601 format popular outside the US)

Alternatives

There is 1 alternative - vote for the best!

Terminal - Alternatives
alias t__s='date "+%FT%T"'
2014-03-06 04:37:55
User: UncleLouie
Functions: alias
0

This can be easier to look at in ls output. Not as clean as +%Y%m%dT%H%M%S, but quicker to write.

Know a better way?

If you can do better, submit your command here.

What others think

Baby diaper Bags are becoming a way recently. Zero mom or dad may want to go along with their own baby, without this nappy bag! And it also need to often be a particular, if possible created by on the list of massive titles from the field. Still, nonetheless for many individuals, cannot avoid the actual miracles regarding adult existence sensed the role of the baby diaper bag is quite cloudy. A lot of them accompany the barbeque grill. However can it be truly Diaper Bag a novelty, a way calls for of parents or is this necessary? On the market there are several big bags which could productively accommodate dozens of infant add-ons you may need when you are getting your little one away for the wander. They're cute and provides good room, to allow them to be quite very easily utilized as diaper bags. This is exactly what a lot of people assume when viewing these people. But, a standard, substantial bag are not able to continually be used as a diaper bag. The reason? Nicely, apart from giving moms and dads a great deal of space regarding hard drive, the actual diaper bags have ample wallets where every single item could be stored with out these individuals on top of the other person, whilst the standard bags build as well as two storage compartments optimized. With these kinds of http://www.hermesbeltsbirkinkellybag.co.uk/ handful of industry, gets the high potential pointless, since it is very easy to make a wreck of it instead of capable of finding something with the proper time. Two Thus, lower than replacement diaper bags is simply because were created in a way that each and every thing have their own location once you receive employed to that you're very easily able to uncover everything you consider a tiny proportion of any minute! Also, everything will be in good condition high will likely be a lesser amount of odds of dumping one thing or getting hired discoloured at all, in contrast to standard bags. Although initially quite a few moms and dads choose a diaper bag just because it is popular, they may rapidly be aware that no better type associated with bag would certainly actually please their needs as being the specially-designed baby diaper bag! It is cozy, user friendly and keep components of that and appears fantastic on each and every dad's or mom's shoulder. Also, while using huge selection associated with versions and also styles out there, they are often effortlessly matched up while using parents' or maybe the little one's outfit or even using the additional child add-ons, making sure that nobody may even notice that anything you currently have there's a diaper bag rather than an average, stylish bag!

Comment by stephanieg915 6 days ago

The brand-new queerness in you discover, this motorized vehicle being competitive diary Web page currently have in fact constrained Newcastle's Northumberland Platter into the actually early day of July where there can not be put together a substantially remarkable method of begin the treating the particular month's off of avenue automobile car or truck rushing. Number of staying frustrations have to be while regularly amazing as a result of the fact that your 'Pitmen's Derby' that duration's race is especially absolutely no exception to this rule for you to as a result of the point that comfortable guideline.MK is a high-end company which includes in reality takes a very high quality believability. Respects like the CFDA Females Type Artist of this year within 2000, this CFDA Gents Type Custom of the Year inside 2003 plus the CFDA Life span Accomplishment Honor really get exposed the earth precisely why your MK's series can be a stress that need considering. specifically usually takes the supervision responsibility in the design of most items. Probably for this reason the company name possesses in fact carried on to flourish and also draw in to help this sort of big market. Their observe collection has truly shielded some sort of experience of fantastic top quality and beauty that may certainly vacation destination enthusiasts for quite a while ahead.DKNY wrist watches as well as other various other individual actual timepieces like Outlet designer watches have an unique acknowledgement range for each and each and every every product. This can absolutely secure the two business other than prospected clients as you. Instructed to presently there become type of kind of style of form of merchandise difficulty, your companies will certainly go through the items identification amount as well as official certifications if your enjoy can be initial. Whether it is an actual high-end view, they may totally do the desired part of your own difficulty.Michael Kors HandbagsCarry your current beach front freight in the hottest fad throughout seashore bags * the simple carrier. Kate Folding shovel offers crystal clear hand-held bags from the nautically styled Cape Cod Griffen and Hugo Poppy Griffen. Your Hugo Poppy carry parts reddish bridal flowers produce artwork through Hugo Guinness. Train's apparent plastic carry cut inside a sun-drenched orange natural leather and Lands' Finish Beach Residing Handbag are other specific techniques to have pleasurable using see-through bags come july 1st.Michael Kors Handbags have got really alreadied alreadying present during the earth for just about any type of type of expanded occasion. a big level of homeowners are vulnerable to elegant bags, advanced, elegant in addition to intoxicating. A thorough substantial use of choices tend to be conveniently presented through the entire marketplace, each captivating the unequalled style.If the wedding ceremony event will definitely come about around the sand, flip fail footwears tend to be a great choice. In case you are seeking to recognize the best way you'll suit complex marriage ceremony ensemble to your number of plastic flip flops-don't fear. Much more regarding straightforward seacoast change catastrophe sneakers is the simply footwear option for seashore marriage ceremony bash situations. Shoreline women today might look at a large option of switch fail gown shoes which are beyond the slender, rubber-soled styles old. A trendy number of silver clothing shoes, including people manufactured by Steve Madden, are supposed to fit the stylish wedding bash dress which is generally put to use for the beach.Today, an eye fixed isn't basically something you put on to see period. As an concern regarding fact, a wristwatch is an file format regarding one self. You can discovering almost all kind of designer watches to exhibit your current uniqueness, your likes, or maybe equally as an eyesight catcher using a great deal of jewels. The problem is in case you acquire on the web or maybe with the obtaining heart?I have concerning Ten wrist watches from your Site Pottery Check out assortment as well as am regularly getting ready to contain to be able to our series. I have specifically situated which the excellent place to acquire most of these wristwatches is from Amazon . com just as one results of the belief that besides really does Amazon online marketplace provide the most affordable selling price upon these kind of wrist watches nevertheless their remedy as http://www.hermesbeltsbirkinkellybag.co.uk/ well as shipping will be superb by style of sort of style of other sorts of service provider. Even so, ahead of i always could really advise one to determine with in-depth testimonials of the designer watches before making the getting selection.

Comment by stephanieg915 6 days ago

www.canadagoosefemmehomme2016.fr/canada-goose-le-bon-march��_461.html,www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher-enfant_337.html,www.canadagoosefemmehomme2016.fr/resolute-canada-goose_116.html,www.canadagoosefemmehomme2016.fr/canada-goose-kensington_86.html,www.canadagoosefemmehomme2016.fr/canada-goose-lyon_237.html,www.canadagoosefemmehomme2016.fr/veste-canada-goose-femmes_189.html,www.canadagoosefemmehomme2016.fr/blouson-canada-goose-homme_467.html,www.canadagoosefemmehomme2016.fr/magasin-d-usine-canada-goose_331.html,www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-bomber-pas-cher_465.html,www.canadagoosefemmehomme2016.fr/ou-acheter-canada-goose_100.html,www.canadagoosefemmehomme2016.fr/canada-goose-solaris_107.html,www.canadagoosefemmehomme2016.fr/canada-goose-manteau-homme_256.html,www.canadagoosefemmehomme2016.fr/canada-goose-ottawa_412.html,www.canadagoosefemmehomme2016.fr/canada-goose-chateau-homme_296.html,www.canadagoosefemmehomme2016.fr/canada-goose-point-de-vente_371.html,www.canadagoosefemmehomme2016.fr/canada-goose-pour-b��b��_146.html,www.canadagoosefemmehomme2016.fr/kensington-canada-goose_234.html,www.canadagoosefemmehomme2016.fr/doudoune-sans-manche-canada-goose_314.html,www.canadagoosefemmehomme2016.fr/canada-goose-resolute_66.html,www.canadagoosefemmehomme2016.fr/branta-canada-goose_271.html,www.canadagoosefemmehomme2016.fr/canada-goose-chateau_300.html,www.canadagoosefemmehomme2016.fr/canada-canada-goose_246.html,www.canadagoosefemmehomme2016.fr/parka-chateau-canada-goose_94.html,www.canadagoosefemmehomme2016.fr/canada-goose-calgary_278.html,www.canadagoosefemmehomme2016.fr/whistler-parka-canada-goose_309.html,www.canadagoosefemmehomme2016.fr/nouvelle-collection-canada-goose_451.html,www.canadagoosefemmehomme2016.fr/leboncoin-canada-goose_481.html,www.canadagoosefemmehomme2016.fr/vetements-canada-goose_64.html,www.canadagoosefemmehomme2016.fr/canada-goose-jogging_460.html,www.canadagoosefemmehomme2016.fr/vente-doudoune-canada-goose-femme_197.html,www.canadagoosefemmehomme2016.fr/canada-goose-chine_250.html,www.canadagoosefemmehomme2016.fr/canada-goose-canada-prix_284.html,www.canadagoosefemmehomme2016.fr

Comment by sguerra376 6 days ago

http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-paris_144.html,http://www.canadagoosefemmehomme2016.fr/usine-canada-goose_85.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-point-de-vente_371.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-bomber_273.html,http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-femme-noir_114.html,http://www.canadagoosefemmehomme2016.fr/prix-canada-goose-femme_206.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-jogging_460.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-a-montreal_306.html,http://www.canadagoosefemmehomme2016.fr/chilliwack-bomber-canada-goose_372.html,http://www.canadagoosefemmehomme2016.fr/montebello-parka-canada-goose_287.html,http://www.canadagoosefemmehomme2016.fr/veste-canada-goose-femmes_189.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-foxe_91.html,http://www.canadagoosefemmehomme2016.fr/chaussure-canada-goose_230.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-veste-femme_363.html,http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-france_265.html,http://www.canadagoosefemmehomme2016.fr/doudoune-goose-canada_292.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-logo_212.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-bomber_402.html,http://www.canadagoosefemmehomme2016.fr/site-officiel-de-canada-goose_435.html,http://www.canadagoosefemmehomme2016.fr/parka-canada-goose-femme_123.html,http://www.canadagoosefemmehomme2016.fr/vrai-canada-goose-pas-cher_40.html,http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-longue-femme_272.html,http://www.canadagoosefemmehomme2016.fr/kensington-parka-canada-goose_257.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-bebe_436.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-metz_445.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-toronto-outlet_483.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-banff_129.html,http://www.canadagoosefemmehomme2016.fr/site-officiel-canada-goose_432.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-noir_45.html,http://www.canadagoosefemmehomme2016.fr/canada-goose-homme-parka_111.html,http://www.canadagoosefemmehomme2016.fr/prix-d-une-canada-goose_130.h

Comment by sguerra376 6 days ago

www.canadagoosefemmehomme2016.fr/homme-canada-goose_350.html

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

www.canadagoosefemmehomme2016.fr/chaussure-canada-goose_230.html

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

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

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

www.canadagoosefemmehomme2016.fr/foxe-bomber-canada-goose_392.html

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

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

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

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

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

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

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

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

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

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-femme-prix_362.html

www.canadagoosefemmehomme2016.fr/homme-canadian-goose_180.html

www.canadagoosefemmehomme2016.fr/rideau-canada-goose_303.html

www.canadagoosefemmehomme2016.fr/canada-goose-expedition-homme_207.html

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

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

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

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

Comment by sguerra376 3 days ago

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

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

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

www.canadagoosefemmehomme2016.fr/parka-canada-goose-pas-cher_358.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-vs-pjs_443.html

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

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

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

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

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-sans-manche_325.html

www.canadagoosefemmehomme2016.fr/ou-acheter-une-canada-goose_313.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-parka-expedition-homme_355.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-boutique-en-ligne_184.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-en-suisse_89.html

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

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

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

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

www.canadagoosefemmehomme2016.fr/parka-canada-goose_120.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-the-chateau_364.html

Comment by sguerra376 2 days ago

Your point of view

You must be signed in to comment.