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

Go get those photos from a Picasa album (full size)

Terminal - Go get those photos from a Picasa album (full size)
wget -O - "[PICASA ALBUM RSS LINK]" |sed 's/</\n</g' | grep media:content |sed 's/.*url='"'"'\([^'"'"']*\)'"'"'.*$/\1/' |awk -F'/' '{gsub($NF,"d/"$NF); print $0}'|wget -i -
2013-03-16 15:48:41
User: mxac
Functions: awk grep sed wget
0
Go get those photos from a Picasa album (full size)

Alternatives

There are 5 alternatives - vote for the best!

Terminal - Alternatives
wget 'link of a Picasa WebAlbum' -O - |perl -e'while(<>){while(s/"media":{"content":\[{"url":"(.+?\.JPG)//){print "$1\n"}}' |wget -w1 -i -
echo 'Enter Picasa album RSS URL:"; read -e feedurl; GET "$feedurl" |sed 's/</\n</g' | grep media:content |sed 's/.*url='"'"'\([^'"'"']*\)'"'"'.*$/\1/' > wgetlist
2009-09-22 10:51:08
User: kamathln
Functions: echo
0

Grab the RSS link to the Picasa album. Feed it to the script when its hungry. When its done writing the shopping list, just use

wget -c -i wgetlist

to get your stuff.

Know a better way?

If you can do better, submit your command here.

What others think

http://www.michaelkorsoutlet-online.org

http://www.nikefreeflyknit.name

http://www.true-religionjeansoutlet.in.net

http://www.eccoshoes.us

http://www.michaelkorsoutletonlineclearance.in.net

http://www.canadagooseoutlets.us.com

http://www.adadassupercolor.com

http://www.thenorthfaceoutlet.com.co

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

http://www.coachfactoryonlineoutlet.com.co

http://www.canadagoosejacketsuk.co.uk

http://www.coachpursesoutlet.in.net

http://www.canadagoose-outlet.name

http://www.katespade-outlet.us

http://www.canada-goosejackets.org.uk

http://www.designerhandbags.net.co

http://www.true-religionjeansoutlet.us.com

http://www.ugg-sale.org.uk

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

http://www.cheap-jerseyswholesale.us

http://www.hollistersaleuk.me.uk

http://www.moncleroutletjackets.us

http://www.oakleysunglassesoutlet.in.net

http://www.monclerjackets-uk.co.uk

http://www.birkenstocks.us.com

http://www.red-bottoms.us.com

http://www.doudounemonclerpascher.fr

http://www.coachoutletus.us.com

http://www.uggsaustralia.fr

http://www.cheapnfljerseys-wholesale.us

http://www.airmaxoutletsaleus.com

http://www.canadagooseuk.co.uk

http://www.adadassuperstar.com

http://www.adidasoutlet.us.com

http://www.pandora-charms.me.uk

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

http://www.valentino.in.net

http://www.nike-blazerlow.fr

http://www.redbottomshoes.in.net

http://www.airforce1-nike.fr

http://www.discountnikeshoessc.org

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

http://www.cheapuggsale.us.com

http://www.guccioutlets.us.org

http://www.michaelkorshandbagsuk.me.uk

http://www.christianlouboutinoutletsale.org

http://www.vansshoes.in.net

http://www.hollisterclothingstore.com.co

http://www.fitflops.us

http://www.michaelkors-purses.us.com

http://www.true-religion.us.com

http://www.outletlongchamp.us

http://www.polooutlet.com.co

http://www.christianlouboutinshoes.us.org

http://www.louisvuittonoutletus.us.com

http://www.outletuggboots.us.com

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

http://www.katespadehandbags.net.co

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

http://www.tomsshoes.us.com

http://www.uggs-pas-cher.fr

http://www.pandora-bracelet.us

http://www.bottegaveneta.in.net

http://www.uggaustraliaoutlet.us.com

http://www.kobeshoes.name

http://www.oakley--sunglasses.net.co

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

http://www.poloralphlauren-outlet.co.uk

http://www.coachoutletstoreonlineclearances.in.net

http://www.toryburchoutletstores.in.net

http://www.uggsale.us.com

http://www.truereligionoutlet.com.co

http://www.michaelkorsoutletclearance.in.net

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

http://www.truereligionjeansoutlet.name

http://www.cheapnhljerseyswholesale.us

http://www.pandorajewelryoutlet.org

http://www.hermesbirkin.in.net

http://www.hugobossoutlet.name

http://www.buyredbottomcheapshoesonline.com

http://www.niketrainers.com.co

http://www.cheapjordans.com.co

http://www.canadagooseoutlet.net.co

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

http://www.uggsoutletofficial.us.com

http://www.cheapraybans.com.co

http://www.uggscanada.ca

http://www.michaelkorspurses.in.net

http://www.coachfactory-outletstore.us.com

http://www.moncleroutlet.in.net

http://www.yeezyboost.us.com

http://www.fitflops.in.net

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

http://www.jordan-femmepascher.fr

http://www.michaelkorshandbag.us.com

http://www.nikefreerun.name

http://www.hollisterclothing.org

http://www.raybansunglasses.net.co

http://www.coachoutlets.us.org

http://www.christianlouboutin.us.org

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

http://www.fitflopssaleclearance.com

http://www.airjordanretro.us

http://www.christianlouboutinshoesoutlet.com

http://www.oakley.nom.co

http://www.christianlouboutinshoes.org.uk

http://www.michaelkorsoutletonlineclearance.us.com

http://www.cheapbasketballshoes.us

http://shop.uggmalls.uk

http://www.nike-store.us.com

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

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

http://www.versaceshoes.in.net

http://www.kevindurantshoes.us

http://www.coachfactoryoutletonline.in.net

http://www.christianlouboutinoutlet.us

http://www.michaelkors-outletsale.us.com

http://www.wwwlouisvuittonoutlet.us.com

http://www.raybans.org.uk

http://www.abercrombieandfitch.in.net

http://www.cheapraybansunglasses.name

http://www.adidasyeezyshoes.us.com

http://www.abercrombieandfitchoutlet.name

http://www.coachfactoryoutlet-online.in.net

http://www.celineoutlet.us

http://www.longchampbagsuk.org.uk

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

http://www.uggscheap.us.com

http://www.louisvuittonoutlet.ca

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

http://www.discountoakleysunglasses.com.co

http://www.moncler-outlet.us.com

http://www.cheapuggsoutlets.us.com

http://www.raybansunglassesdiscount.com.co

http://www.nikehuarache.com.co

http://www.timberlandbootsoutlet.name

http://www.conversetrainer.co.uk

http://www.katespadehandbags.org.uk

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

http://www.coachoutlet.in.net

http://www.ysl-outlet.com

http://www.airmax90.org

http://www.canada-goose-jackets.ca

http://www.reebokshoes.in.net

http://www.lacosteshoes.us

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

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

http://www.tomsoutletstores.in.net

http://www.canadagoosejacketscanadagoose.us.com

http://www.toms.in.net

http://www.coachoutletstoreonline.com.co

http://www.polooutlets.us.com

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

http://www.cheap-ugg-boots.us.com

http://www.pandoracharms.com.co

http://www.louisvuittonhandbagsuk.me.uk

http://www.uggsboots.org.uk

http://www.edhardy-outlet.name

http://www.louisvuitton-outlet-online.us.com

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

http://www.boots-ugg.us.com

http://www.coachoutletonlinecoachfactoryoutlet.us.com

http://www.jimmychoo.in.net

http://www.timberlandbootsoutlet.us

http://www.longchamphandbags.us

http://www.longchamp-handbags.us

http://www.pandorajewelryoutlet.name

http://www.polooutlet.in.net

http://www.pandorauk.org.uk

http://www.converseshoes.in.net

http://www.michaelkors-handbags.uk

http://www.armani-exchange.us

http://www.ferragamoshoes.cc

http://www.christianlouboutinshoes.us

http://www.fitflopssaleclearance.net

http://www.cheapoakleyssunglasses.com.co

http://www.longchampbags.uk

http://www.uggs-australia.it

http://www.gucci--borse.it

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

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

http://www.michaelkorsoutletclearances.us.com

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

http://www.nikeshoes.us.com

http://www.yeezyboost350.me.uk

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

http://www.birkenstocksandals.org.uk

http://www.omegawatches.name

http://www.levisjeans.name

http://www.cheaprolexreplicawatches.us

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

http://www.nikecortez.com.co

http://www.michaelkorsoutletonline.com.co

http://www.uggsboots.fr

http://www.pradaoutlet.name

http://www.canadagoosejacketscanadagooseoutlet.us.com

http://www.ralphlaurenoutlet.us.org

http://www.cheapmlbjerseys.us

http://www.canadagoosepaschere.fr

http://www.chaussurelouboutin-pascher.fr

http://www.thenorthface.org.uk

http://www.ugg-bootsoutlet.co.uk

http://www.louisvuitton-borse.it

http://www.coachoutletstoreonlineclearances.org

http://www.adidasnmd.us.org

http://www.rolexwatchesuk.me.uk

http://www.michaelkorsoutletclearanceonlines.us.com

http://www.edhardyukclothing.me.uk

http://www.adidasnmd.org.uk

http://www.michaelkorsoutletstore.us.com

http://www.nikestoreuk.me.uk

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

http://www.guccihandbagsoutlet.us

http://www.canadagooseoutlet.ca

http://www.louboutin.eu.com

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

http://www.ugg-australia.org.uk

http://www.coachfactoryoutletsaleonline.us.com

http://www.outletlouisvuitton.us.com

http://www.dolceandgabbanaoutlet.com

http://www.lebronjamesshoes.org

http://www.cheapoakleyssunglasses.us.org

http://www.cheapjordanshoes.us.com

http://www.supraforsale.in.net

http://www.chiflatiron.in.net

http://www.cheapjordans.us.com

http://www.adadasstansmith.com

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

http://www.ugg--outlet.us.com

http://www.hermesbeltoutlet.us

http://www.michael-korsoutlet.ca

http://www.uggboots-outlets.us.com

http://www.cheap-jordans.us

http://www.rolexreplicawatches.name

http://www.pandoracharmssaleclearance.com

http://www.michaelkors-outlet.ca

http://www.truereligionjeans.me.uk

http://www.monclerjacketsuk.org.uk

http://www.longchampoutletstore.com

http://www.michaelkors-handbags.us.com

http://www.rolexdaytona.in.net

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

http://www.fake-rolex.us

http://www.skechersshoes.us

http://www.louis-vuitton-handbags.us.org

http://www.cheapuggs.org.uk

http://www.chaussure-louboutin.fr

http://www.uggs--canada.ca

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

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

http://www.birkenstocksandals.name

Comment by 20161222yuanyuan 34 weeks and 3 days ago

http://www.goodsellerairmax.com/ Cheap Nike Air Max 2017

http://www.goodsellerairmax.com/mens-nike-air-max-90.html Mens Nike Air Max 90

http://www.goodsellerairmax.com/mens-nike-flyknit.html Mens Nike Flyknit

http://www.goodsellerairmax.com/nike/jordan-shoes-on-sale.html Jordan Shoes On Sale

http://www.goodsellerairmax.com/nike/air-max-2016-sale.html Air Max 2016 Sale

http://www.goodsellerairmax.com/nike/womens-nike-roshe-one.html Womens Nike Roshe One

http://www.goodsellerairmax.com/nike/womens-nike-air-huarache.html Womens Nike Air Huarache

http://www.goodsellerairmax.com/adidas/adidas-nmd-pk-runner.html Adidas NMD PK Runner

http://www.goodsellerairmax.com/adidas/adidas-running.html Adidas Running

http://www.matteoricci.it/ Scarpe Nike Air Max

http://www.matteoricci.it/scarpe-adidas/adidas-yeezy-boost-350.html Adidas Yeezy Boost 350

http://www.matteoricci.it/scarpe-adidas/adidas-nmd-pk-runner.html Adidas Nmd Pk Runner

http://www.matteoricci.it/scarpe-adidas/scarpe-adidas-nmd-runner.html Scarpe Adidas NMD Runner

http://www.matteoricci.it/scarpe-adidas/scarpe-adidas-y-3.html Scarpe Adidas Y-3

http://www.matteoricci.it/scarpe-adidas/yeezy-boost-350-donna.html Yeezy Boost 350 Donna

http://www.matteoricci.it/scarpe-adidas/yeezy-boost-750.html Yeezy Boost 750

http://www.matteoricci.it/scarpe-nike/nike-air-max-90-donna.html Nike Air Max 90 Donna

http://www.matteoricci.it/scarpe-nike/nike-air-max-90-uomo.html Nike Air Max 90 Uomo

http://www.matteoricci.it/scarpe-nike/nike-flyknit-donna.html Nike Flyknit Donna

http://www.matteoricci.it/scarpe-nike/nike-flyknit-uomo.html Nike Flyknit Uomo

http://www.matteoricci.it/scarpe-nike/nike-air-huarache-donna.html Nike Air Huarache Donna

http://www.matteoricci.it/scarpe-nike/nike-air-huarache-uomo.html Nike Air Huarache Uomo

http://www.matteoricci.it/scarpe-nike/nike-air-pegasus-uomo.html Nike Air Pegasus Uomo

http://www.matteoricci.it/scarpe-nike/nike-free-rn-flyknit-donna.html Nike Free Rn Flyknit Donna

http://www.matteoricci.it/scarpe-nike/nike-roshe-one-uomo.html Nike Roshe One Uomo

http://www.matteoricci.it/scarpe-nike/scarpe-jordan-basket.html Scarpe Jordan Basket

http://www.matteoricci.it/scarpe-nike/nike-flyknit-donna.html Nike Flyknit Donna

http://www.matteoricci.it/scarpe-nike/nike-flyknit-uomo.html Nike Flyknit Uomo

http://www.matteoricci.it/scarpe-nike/nike-air-huarache-donna.html Nike Air Huarache Donna

http://www.matteoricci.it/scarpe-nike/nike-air-huarache-uomo.html Nike Air Huarache Uomo

Comment by huang1 7 weeks and 2 days ago

Your point of view

You must be signed in to comment.