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

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
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)


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

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


Comment by sguerra376 6 days ago


Comment by sguerra376 6 days ago

























Comment by sguerra376 3 days ago




























Comment by sguerra376 2 days ago

Your point of view

You must be signed in to comment.