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.

UpGuard checks and validates configurations for every major OS, network device, and cloud provider.
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

Update a namecheap @ A record to point to your current internet-facing IP address

Terminal - Update a namecheap @ A record to point to your current internet-facing IP address
logger -tdnsupdate $(curl -s 'https://dynamicdns.park-your-domain.com/[email protected]&domain=xxx&password=xxx'|tee -a /root/dnsupdate|perl -pe'/Count>(\d+)<\/Err/;$_=$1eq"0"?"Update Sucessful":"Update failed"'&&date>>/root/dnsupdate)
2013-08-11 16:27:39
User: MagisterQuis
Functions: logger perl tee
1
Update a namecheap @ A record to point to your current internet-facing IP address

Sets the @ A record for your domain hosted by namecheap to your current internet-facing IP address, logs success or failure with syslog, and logs the data returned to /root/dnsupdate.

Change the XXX's as appropriate.

More info at: http://www.namecheap.com/support/knowledgebase/article.aspx/29/

Alternatives

There are 7 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

"Only one team in this series can crank up their defense enough to win them games.

The Warriors? offense feeds off that stingy defense ? with or without Stephen Curry in the lineup, again Tuesday it was without ? and the combination can lead to big runs.

Such as a 34-12 fourth quarter. It was historic, as our own Dan Feldman pointed out on twitter.

Golden State trailed by 17 at one point but came on in the fourth with a defensive energy that held Damian Lillard to 0-of-3 shooting and his entire Portland team to 26.5 percent shooting. Those miss shots fueled transition buckets and opportunities ? Klay Thompson had 10 of his 27 points on the night in the fourth ? and the Warriors roared back for a 110-99 victory.

Golden State now leads the series 2-0 as it heads to Portland, with Game 3 not until Saturday. The biggest question is whether Curry will play in that game, or will the Warriors use their position of strength to get him more rest (as they did in the Houston series up 2-0)?

The best player on the floor in Game 2 was Draymond Green, who finished with 17 points (on 20 shots), 14 rebound and seven assists. But that?s not where the damage he does starts ? it?s on defense. His ability to defend the five, then show out high on pick-and-rolls to cut off Lillard or C.J. McCollum and take away their shots from three. With Curry out, Green also spends a lot of time as the guy initiating the Warriors offense. He crashes the boards. He protects the paint, including a key block late on Mason Plumlee. Green did it all."

http://christianlouboutin.eshopping.us.com

http://www.tomswedges.in.net

http://www.airjordan-uk.org.uk

http://www.adidas-nmd.us.com

http://www.pandorajewelryoutlet.name

http://www.underarmourshoes.cc

http://www.katespadehandbags.net.co

http://www.michaelkorsoutlet-online.us.org

http://www.adidas-trainers.me.uk

http://www.adidasuk.me.uk

http://www.poloralphlaurenmen.name

http://www.asicsshoes.in.net

http://www.omegawatches.name

http://www.adidasnmd.us.org

http://www.toms.in.net

http://www.michael-kors-bags.me.uk

http://www.raybans.org.uk

http://www.puma-shoes.in.net

http://www.nikerosherunwomen.me.uk

http://www.rolexdaytona.in.net

http://ralphlauren.shopgioia.com

http://www.louboutin.eu.com

http://www.adadassuperstar.com

http://www.louisvuitton-borse.it

http://www.michaelkors-outlet.us.org

http://www.louisvuittonoutlet.ca

http://www.cheap-jerseyswholesale.us

http://oakley.shopgioia.com

http://www.lululemonoutlet.name

http://www.nikecortez.com.co

http://www.lacosteshoes.us

http://www.airforce1-nike.fr

http://www.mizunorunningshoes.in.net

http://www.raybans.in.net

http://www.airmaxoutletsaleus.com

http://www.babylisspro.in.net

http://michaelkors.eshopping.us.com

http://www.poloralphlaurenoutletonlines.us.com

http://www.coach-outletonlines.us.com

http://www.cheapnhljerseyswholesale.us

http://www.nfl-jerseys-wholesale.us.com

http://www.cheapjordans-shoes.us.com

http://www.raybansunglassesoutlet.in.net

http://www.louisvuittonoutletonlines.us.com

http://www.converseshoes.in.net

http://www.michaelkorsoutletvip.in.net

http://www.coachpursesoutlet.in.net

http://www.ralphlauren-outlet.com.co

http://rayban.shopgioia.com

http://burberry.shopgioia.com

http://www.reebokshoes.in.net

http://www.oakley.nom.co

http://www.vansshoes.in.net

http://www.jimmychoo.in.net

http://www.eccoshoes.us

http://www.kate-spadeoutlet.com.co

http://www.coachfactoryonlineoutlet.com.co

http://ugg.shopgioia.com

http://www.michaelkorsoutletonline.com.co

http://www.ghdflatiron.com

http://www.coachoutletstoreonlineclearances.eu.com

http://www.guccihandbagsoutlet.org

http://christianlouboutin.shopgioia.com

http://www.polooutlet.us.com

http://www.cheapjordans.com.co

http://www.raybanoutletnyc.com

http://www.jordan-femmepascher.fr

http://www.hollisteruksale.org.uk

http://canadagoose.eshopping.us.com

http://burberry.eshopping.us.com

http://www.nike-blazerlow.fr

http://www.christianlouboutinuk.me.uk

http://www.louisvuitton-sac-pascher.fr

http://abercrombie.shopgioia.com

http://www.michael-kors-outlet.ca

http://www.nikefreeruns.uk

http://www.ralphlaurenuk.org.uk

http://www.diorsunglasses.us

http://www.coachfactoryoutletonline.us.org

http://www.pandoracharms.com.co

http://www.niketrainers.com.co

http://www.pradaoutlet.name

http://www.kate-spadeoutlet.in.net

http://www.fitflops.in.net

http://www.cheapraybansunglassesoutlet.us.com

http://www.cheapfakeoakleysoutlet.com

http://ralphlauren.eshopping.us.com

http://www.adidaspureboost.us

http://www.saclongchamp-solde.fr

http://www.valentino.in.net

http://www.tomsshoes.us.com

http://www.hermesbelt.in.net

http://www.adidasnmd.org.uk

http://www.nike-airmax90.me.uk

http://www.versace-sunglasses.us.com

http://www.coach-outletonline.eu.com

http://www.true-religionjeans.net.co

http://www.nikestoreuk.me.uk

http://www.michaelkorsoutletclearance.net.co

http://www.reebokclassic.me.uk

http://www.edhardy-outlet.name

http://www.coachfactoryoutletstoreonline.com

http://www.conversetrainer.co.uk

http://www.michaelkorsoutletonlineclearance.us.com

http://www.christianlouboutinoutlet.us

http://www.yeezyboost-350.us.com

http://canadagoose.shopgioia.com

http://www.basketballshoes.net.co

http://www.new-balanceoutlet.us

http://www.rolex-replicawatches.com.co

http://www.stephencurryshoes.net

http://www.airmax95.org.uk

http://www.oakley--sunglasses.us.org

http://www.fitflopssaleclearance.com

http://www.supraforsale.in.net

http://www.gucci-borse.it

http://www.sac-longchamppliage.fr

http://www.adadasstansmith.com

http://www.yeezyboost350.me.uk

http://www.skechersshoes.us

http://www.adidassuperstar.co.uk

http://www.instylermax.in.net

http://www.cheapoakleysunglassesoutlet.us.com

http://www.oakley-sunglasses.us.com

http://www.burberry-outlet-canada.ca

http://www.nike-tn-pascher.fr

http://www.edhardyukclothing.me.uk

http://www.michael-korsoutlet.ca

http://www.versaceshoes.in.net

http://www.adidas-shoes.me.uk

http://www.longchampbag.co.uk

http://coach.eshopping.us.com

http://www.cheap-nbajerseys.us.com

http://www.cartierwatches.cc

http://www.cheapmlbjerseys.us

http://www.michaelkorspurses.in.net

http://www.armani-exchange.us

http://www.yeezyboost.us.com

http://www.chiflatiron.in.net

http://www.chaussurelouboutin-pascher.fr

http://www.michael-korshandbagsoutlet.us.com

http://ugg.eshopping.us.com

http://www.levisjeans.name

http://www.chaussure-louboutin.fr

http://www.designerhandbags.net.co

http://www.poloralphlauren.net.co

http://www.adidasgazelle.me.uk

http://www.sunglassesoakley.in.net

http://www.coach-outletonline.us.org

http://rayban.eshopping.us.com

http://www.ferragamoshoes.cc

http://www.kate-spadeoutlet.us

http://www.michaelkors-outlet.ca

http://www.nike-airmax.org.uk

http://www.burberrysale.me.uk

http://www.longchampoutlet.net.co

http://www.bottegaveneta.in.net

http://www.truereligion-outlet.net.co

http://www.fitflops.us

http://www.discountnikeshoessc.org

http://www.toms-outlet.cc

http://www.michaelkorswatches.co.uk

http://www.runningshoes.com.co

http://www.prada-sunglasses.us.com

http://www.nikehuarache.com.co

http://www.michaelkorsoutletclearance.com.co

http://oakley.eshopping.us.com

http://www.fitflopuk.me.uk

http://www.fitflopssaleclearance.net

http://www.calvinkleinoutlet.in.net

http://www.ralph-lauren-pas-cher.fr

http://hollister.shopgioia.com

http://www.adadassupercolor.com

http://www.hermesuk.org.uk

"Portland raced out to a lead using their vintage style ? their defense wasn?t that good, but it was good enough (especially with a cold Thompson who kept missing open looks), and their offense was hitting everything. With the Warriors missing shots it was Portland using the opportunity to run ? and it was the Warriors defenders doing a poor job of recognizing the shooters and closing them out. So the opposite of Game 1.

Portland was also getting buckets from Al-Farouq Aminu ? 10 first quarter points ? and that?s always a good sign because he?s the guy (well, him and Maurice Harkless) that the Warriors will live with shooting.

Still, you knew the run was coming. The Warriors went on a 14-2 run to make it close as the second half started to wind down. But then Portland responded with some real poise and an 8-0 run of their own. Portland was getting their buckets and had a 59-51 run at the half. They continued to hold that lead through the third quarter thanks to a red-hot Damian Lillard, who had 16 points in the quarter.

But again, you knew the run was coming ? and this time it was fueled by the Warriors defense. Festus Ezeli was a big part of that, his defensive presence in the paint helped turn things around, he was setting big screens to free up Thompson and others, plus he had eight points of his own in the quarter.

When the game got tight Portland missed seven in a row down the stretch, and that sealed the Blazers fate. Meanwhile, the Warriors kept hitting shots, and the Blazers have no great options to change up the defense and alter that dynamic. Even without Curry, the versatility of the Warriors makes them tough to slow, let alone stop.

Going home, maybe the Trial Blazers can hit some difficult shots and hold off a Warriors charge in the fourth quarter.

Or, maybe Stephen Curry is back, and the Warriors just get better."

Comment by 2016505yuanyuan 71 weeks and 5 days ago

This article is really fantastic and thanks for sharing the valuable post.

http://www.facebook-baixar.com/

http://www.whatsappbaixargratis.net/

Comment by lindarose11 66 weeks and 3 days ago

http://www.nederflash.nl Nike Air Max 2017

http://www.nederflash.nl/nike-air-force-1-heren.html Nike Air Force 1 Heren

http://www.nederflash.nl/nike-air-huarache-heren.html Nike Air Huarache Heren

http://www.nederflash.nl/nike-air-max-2016-heren.html Nike Air Max 2016 Heren

http://www.nederflash.nl/nike-air-max-2016-heren-blauw.html nike air max 2016 heren blauw

http://www.nederflash.nl/nike-air-max-2016-heren-rood.html Nike Air Max 2016 Heren Rood

http://www.nederflash.nl/nike-air-max-2016-heren-zwart.html Nike Air Max 2016 Heren Zwart

http://www.nederflash.nl/nike-air-max-2017-heren.html Nike Air Max 2017 Heren

http://www.nederflash.nl/nike-air-max-2017-heren-blauw.html nike air max 2017 heren blauw

http://www.nederflash.nl/nike-air-max-2017-heren-grijs.html nike air max 2017 heren grijs

http://www.nederflash.nl/nike-air-max-2017-heren-groen.html nike air max 2017 heren groen

http://www.nederflash.nl/nike-air-max-2017-heren-rood.html nike air max 2017 heren rood

http://www.nederflash.nl/nike-air-max-2017-heren-wit.html nike air max 2017 heren wit

http://www.nederflash.nl/nike-air-max-2017-heren-zwart.html nike air max 2017 heren zwart

http://www.nederflash.nl/nike-air-max-90-heren.html Nike Air Max 90 Heren

http://www.nederflash.nl/nike-air-max-90-heren-2017.html Nike Air Max 90 Heren 2017

http://www.nederflash.nl/nike-air-max-90-heren-blauw.html Nike Air Max 90 Heren Blauw

http://www.nederflash.nl/nike-air-max-90-heren-groen.html Nike Air Max 90 Heren groen

http://www.nederflash.nl/nike-air-max-90-heren-rood.html Nike Air Max 90 Heren rood

http://www.nederflash.nl/nike-air-max-90-heren-wit.html Nike Air Max 90 Heren wit

http://www.nederflash.nl/nike-air-max-90-heren-zwart.html Nike Air Max 90 Heren Zwart

http://www.nederflash.nl/nike-air-max-95-heren.html Nike Air Max 95 Heren

http://www.nederflash.nl/nike-air-max-tavas-heren.html Nike Air Max Tavas Heren

http://www.nederflash.nl/nike-air-max-thea-heren.html Nike Air Max Thea Heren

http://www.nederflash.nl/nike-air-max-zero-heren.html Nike Air Max Zero Heren

http://www.nederflash.nl/nike-air-presto-heren.html Nike Air Presto Heren

http://www.nederflash.nl/nike-air-zoom-pegasus-32-heren.html Nike Air Zoom Pegasus 32 Heren

http://www.nederflash.nl/nike-air-zoom-pegasus-33-heren.html Nike Air Zoom Pegasus 33 Heren

http://www.nederflash.nl/nike-cortez-heren.html Nike Cortez Heren

http://www.nederflash.nl/nike-free-3-0-flyknit-heren.html Nike Free 3.0 Flyknit Heren

http://www.nederflash.nl/nike-free-5-0-heren.html Nike Free 5.0 Heren

http://www.nederflash.nl/nike-free-run-2-heren.html Nike Free Run 2 Heren

http://www.nederflash.nl/nike-free-run-3-heren.html Nike Free Run 3 Heren

http://www.nederflash.nl/nike-roshe-run-heren.html Nike Roshe Run Heren

http://www.nederflash.nl/nike-air-force-1-heren.html Nike Air Force 1 Heren

http://www.nederflash.nl/nike-air-huarache-heren.html Nike Air Huarache Heren

http://www.nederflash.nl/nike-air-max-2016-heren.html Nike Air Max 2016 Heren

http://www.nederflash.nl/nike-air-max-2016-heren-blauw.html nike air max 2016 heren blauw

http://www.nederflash.nl/nike-air-max-2016-heren-rood.html Nike Air Max 2016 Heren Rood

http://www.nederflash.nl/nike-air-max-2016-heren-zwart.html Nike Air Max 2016 Heren Zwart

http://www.nederflash.nl/nike-air-max-2017-heren.html Nike Air Max 2017 Heren

http://www.nederflash.nl/nike-air-max-2017-heren-blauw.html nike air max 2017 heren blauw

http://www.nederflash.nl/nike-air-max-2017-heren-grijs.html nike air max 2017 heren grijs

http://www.nederflash.nl/nike-air-max-2017-heren-groen.html nike air max 2017 heren groen

http://www.nederflash.nl/nike-air-max-2017-heren-rood.html nike air max 2017 heren rood

http://www.nederflash.nl/nike-air-max-2017-heren-wit.html nike air max 2017 heren wit

http://www.nederflash.nl/nike-air-max-2017-heren-zwart.html nike air max 2017 heren zwart

http://www.nederflash.nl/nike-air-max-90-heren.html Nike Air Max 90 Heren

http://www.nederflash.nl/nike-air-max-90-heren-2017.html Nike Air Max 90 Heren 2017

http://www.nederflash.nl/nike-air-max-90-heren-blauw.html Nike Air Max 90 Heren Blauw

http://www.nederflash.nl/nike-air-max-90-heren-groen.html Nike Air Max 90 Heren groen

http://www.nederflash.nl/nike-air-max-90-heren-rood.html Nike Air Max 90 Heren rood

http://www.nederflash.nl/nike-air-max-90-heren-wit.html Nike Air Max 90 Heren wit

http://www.nederflash.nl/nike-air-max-90-heren-zwart.html Nike Air Max 90 Heren Zwart

http://www.nederflash.nl/nike-air-max-95-heren.html Nike Air Max 95 Heren

http://www.nederflash.nl/nike-air-max-tavas-heren.html Nike Air Max Tavas Heren

http://www.nederflash.nl/nike-air-max-thea-heren.html Nike Air Max Thea Heren

http://www.nederflash.nl/nike-air-max-zero-heren.html Nike Air Max Zero Heren

http://www.nederflash.nl/nike-air-presto-heren.html Nike Air Presto Heren

http://www.nederflash.nl/nike-air-zoom-pegasus-32-heren.html Nike Air Zoom Pegasus 32 Heren

http://www.nederflash.nl/nike-air-zoom-pegasus-33-heren.html Nike Air Zoom Pegasus 33 Heren

http://www.nederflash.nl/nike-cortez-heren.html Nike Cortez Heren

http://www.nederflash.nl/nike-free-3-0-flyknit-heren.html Nike Free 3.0 Flyknit Heren

http://www.nederflash.nl/nike-free-5-0-heren.html Nike Free 5.0 Heren

http://www.nederflash.nl/nike-free-run-2-heren.html Nike Free Run 2 Heren

http://www.nederflash.nl/nike-free-run-3-heren.html Nike Free Run 3 Heren

http://www.nederflash.nl/nike-roshe-run-heren.html Nike Roshe Run Heren

http://www.nederflash.nl/adidas-gazelle-heren.html Adidas Gazelle Heren

http://www.nederflash.nl/adidas-nmd-heren.html Adidas NMD Heren

http://www.nederflash.nl/adidas-stan-smith-heren.html Adidas Stan Smith Heren

http://www.nederflash.nl/adidas-superstar-heren.html Adidas Superstar Heren

http://www.nederflash.nl/adidas-superstar-heren-blauw.html Adidas Superstar Heren Blauw

http://www.nederflash.nl/adidas-superstar-heren-groen.html Adidas Superstar Heren Groen

http://www.nederflash.nl/adidas-superstar-heren-zwart.html Adidas Superstar Heren Zwart

http://www.nederflash.nl/adidas-ultra-boost-heren.html Adidas Ultra Boost Heren

http://www.nederflash.nl/adidas-zx-500-heren.html Adidas Zx 500 Heren

http://www.nederflash.nl/adidas-zx-700-heren.html Adidas ZX 700 Heren

http://www.nederflash.nl/adidas-zx-750-heren.html Adidas ZX 750 Heren

http://www.nederflash.nl/adidas-zx-800-heren.html Adidas Zx 800 Heren

http://www.nederflash.nl/adidas-zx-850-heren.html Adidas Zx 850 Heren

http://www.nederflash.nl/adidas-zx-flux-heren.html Adidas ZX Flux Heren

http://www.nederflash.nl/adidas-nmd-dames.html Adidas NMD Dames

http://www.nederflash.nl/adidas-stan-smith-dames.html Adidas Stan Smith Dames

http://www.nederflash.nl/adidas-superstar-dames.html Adidas Superstar Dames

http://www.nederflash.nl/adidas-superstar-dames-blauw.html Adidas Superstar Dames Blauw

http://www.nederflash.nl/adidas-superstar-dames-bloemen.html Adidas Superstar Dames Bloemen

http://www.nederflash.nl/adidas-superstar-dames-rood.html Adidas Superstar Dames Rood

http://www.nederflash.nl/adidas-superstar-dames-roze.html Adidas Superstar Dames Roze

http://www.nederflash.nl/adidas-superstar-dames-wit.html Adidas Superstar Dames Wit

http://www.nederflash.nl/adidas-superstar-dames-zwart.html Adidas Superstar Dames Zwart

http://www.nederflash.nl/adidas-ultra-boost-dames.html Adidas Ultra Boost Dames

http://www.nederflash.nl/adidas-zx-500-dames.html Adidas Zx 500 Dames

http://www.nederflash.nl/adidas-zx-700-dames.html Adidas ZX 700 Dames

http://www.nederflash.nl/adidas-zx-700-dames-grijs.html Adidas Zx 700 Dames Grijs

http://www.nederflash.nl/adidas-zx-700-dames-zwart.html Adidas Zx 700 Dames Zwart

http://www.nederflash.nl/adidas-zx-750-dames.html Adidas ZX 750 Dames

http://www.nederflash.nl/adidas-zx-800-dames.html Adidas Zx 800 Dames

http://www.nederflash.nl/adidas-zx-850-dames.html Adidas Zx 850 Dames

http://www.nederflash.nl/adidas-zx-flux-dames.html Adidas ZX Flux Dames

http://www.nederflash.nl/adidas-gazelle-dames.html Adidas Gazelle Dames

http://www.nederflash.nl/adidas-gazelle-dames-grijs.html Adidas Gazelle Dames Grijs

http://www.nederflash.nl/adidas-gazelle-dames-groen.html Adidas Gazelle Dames Groen

http://www.nederflash.nl/adidas-gazelle-dames-rood.html Adidas Gazelle Dames Rood

http://www.nederflash.nl/adidas-gazelle-dames-roze.html Adidas Gazelle Dames Roze

http://www.nederflash.nl/adidas-gazelle-dames-zwart.html Adidas Gazelle Dames Zwart

Comment by huang1 11 weeks and 6 days ago

Your point of view

You must be signed in to comment.