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

Comment current line

Terminal - Comment current line
<ESC> #
2011-09-13 17:01:44
User: ioggstream
6
Comment current line

This should work with different locales. Another post reports

Alternatives

There are 2 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

Home gets you to the start of the line.

Comment by RanyAlbeg 258 weeks and 3 days ago

I use this all the time. It's handy when you're typing in a long command and you need to go check something. You can do it anywhere on the line, and it inserts the comment and saves the command in your history. You can then go do whatever you're going to do then come back and complete your command.

Comment by splante 258 weeks and 1 day ago

Which shell is this for? Does not work in /bin/sh, /bin/dash, /bin/tcsh nor /bin/zsh

Comment by Mozai 258 weeks ago

bash: bourne again!

Comment by ioggstream 252 weeks and 2 days ago

Work fine in ksh : )

Comment by Oxyaxion 251 weeks ago

scream, www.soccer-shoesoutlet.com or www.swarovski-crystal.us.com enjoy the www.nike-shoes-canada.ca cicadas www.nike-air-max.com.de flap www.swarovski--uk.me.uk its www.converse-shoesoutlet.com wings www.nike-rosherun.nl when www.cheapoakley-sunglasses.com you www.michael-kors-australia.com.au bring www.omegarelojes.es the www.michaelkorsoutletonline-sale.us.com cool www.ray--ban.ca wind; www.replica-watches.com.co when www.nike-airmaxinc.co.uk passing www.cheap-jordans.net Hasuike also www.cheap-nike-shoes.net puffed www.air-max.com.de breath www.nikemercurial.in.net goods www.abercrombie-fitchsale.com products www.tommyhilfiger.net.co that www.hermes-outlet.com.co Lotus www.mkoutletonline.us.com aroma; www.michaelkors.co.nl hours because www.longchamphandbagsoutlet.net ignorance www.rolexwatchesforsale.us.com has www.nikeskos.dk been www.christian-louboutinshoes.com.co poked www.coachoutletstore-online.com.co hornet's www.hermesbirkin-bag.net nest www.asicsgels.de and www.guccihandbags.net.co stung www.ralphslauren-outlet.co.uk his www.tommy-hilfiger-online-shop.de face www.mcm-handbags.org was www.nike-skor.com.se bruised. www.swarovskicanada.ca Dig www.guccishoes.com.co once, www.instylers.us.com because www.oakley-sunglasses-canada.ca "small www.tocoachoutlet.com insects" (Sparrow) www.scarpe-hoganoutlets.it and www.rayban.org.es took www.michaelkorsoutlet-online.ar.com out www.nike-air-force.de a www.canadagooses-2016.com "snake" www.christianlouboutin.org.uk (Snake) www.nikeair-max.es scared www.abercrombie-fitchs.us.com to www.cheapmichaelkors.us.org fall www.airhuarache.co.uk from www.burberryoutlet-sale.in.net the www.oakley-outletstore.in.net wall. www.louisvuitton.jp.net Fortunately, www.michael-kors.net.co nothing www.michael-kors-taschen.com.de serious. www.swarovski-online-shop.de Leisure www.vans-shoes.net time, www.ugg-boots.us.org will www.nike-huarache.nl collect some nike.shoesoutlet.us.com cigarette www.bottega-veneta.us.com paper www.nikefree-run.org.uk folded www.woolrich-clearance.com triangle, www.cheap-michaelkors.com and www.tiffany-jewelry.net partners to www.coachoutletstore.net.co play; (the www.p90xworkout.us.com triangle www.nike-roshe-run.com.es on www.giuseppezanotti.com.co the ground www.prada-shoes.com.co and put www.the-north-face.ca his www.pandora-charms.org.uk hand on www.tiffany-andco.com.au the www.burberry-handbags2016.in.net ground www.lauren-ralph.co.uk quick www.ralphlaurenoutletonline.in.net photo www.coachoutlet-online.com.co shoot www.ferragamoshoes.in.net the www.guccishoes-uk.co.uk other www.abercrombieand-fitch.ca side www.longchamp.com.co of www.ugg-boots-australia.com.au the www.michael--kors.us.com triangle www.burberry-outletstore.net is the www.tommy-hilfiger.com.de triangle www.retro-jordans.com that www.guccishoes.in.net turned www.cheap-oakleyglasses.us.com their www.ray-ban-outlet.us.com a); www.ralph-lauren.com.au and www.prada-handbags.com.co also www.cheap-baseballbats.net than own www.weddingdressesuk.org.uk older www.michaelkors.so brother www.nikestore.com.de and www.uggsoutlet.com.co sister www.michaelkorsbags.us.org were www.nikeair--max.fr led www.nike-shoesoutlet.us.com to www.yoga-pants.net.co a www.coachblackfriday.com wide www.nike-tnrequinpascher.fr flat www.tiffany-andco.us.com on www.montres-pascher.fr the www.oakleysunglass-outlet.net grass www.converse.com.de or www.coach-outletonline.net.co doing www.marc-jacobs.us.com "of www.tommy-hilfigeroutlet.com chicken" www.coach-factory.in.net or www.adidas.com.se "kill www.eyeglassesonline.us.com the www.airjordans.us lamb" www.maccosmetics.net.co of www.michaelkors-uk.org.uk the www.ray-banocchiali.it game, www.ralphlaurenpolos.in.net before www.nikerosherun.us the election www.polo-outlets.com.co when www.pandorajewelry.top one www.adidas-schuhe-online.de eagle, www.kate-spade.gb.net then tall www.toms--outlet.com.co in www.burberrys-outlet.co.uk front supra.shoesoutlet.us.com when www.rosheruns.us hens www.hollisterclothingstore.org , www.michael-kors.com.co when www.pandora-charms-canada.ca the www.tommy-hilfiger-canada.ca rest www.longchamps.us.com of the www.mcmbags.net chicken, www.nike-free-run.de the www.nike-air-max.us eagle www.hermesbags.jp.net chasing www.celine-bags.org shot www.louisvuitton-outlet.com.co at www.new-balance.ca the www.nikefree-run.net back www.longchamp-handbagsoutlet.us.com of www.toms-shoesoutlet.net the www.harrods-london.co.uk chick, www.chanelhandbags.net.in hen www.beatsbydrdre.co.com with www.burberry-outletonlinesale.in.net open www.uggsaustralia.com.co arms www.insanity-workout.us.com to www.swarovski-australia.com.au protect www.burberryoutlet2016.us.com chickens, www.soft-ballbats.com smart www.burberryoutlet-canada.ca dodge uggaustralia.misblackfriday.com to www.beats-by-dre.com.co keep www.gucci-shoes.net eagle www.gucci-taschen-outlet.de patting. www.michael-kors-canada-outlet.ca Or www.toryburchsale.com.co a www.nikeshoesoutlet.org.uk dozen www.rolex-watches.us.com people www.oakley.com.de sitting in www.thenorthface.com.de a www.newoutletonlinemall.com circle, www.hollister-abercrombie.com.se do www.toms-outlets.us.com a www.ralphlaurenonlineshop.de do www.timberlandshoes.net.co Diushou www.katespadeoutlet.gb.net Juan www.reebok.com.de game: www.vans-shoes.co.uk the www.christianlouboutinshoesoutlet.org hands www.hollisters-canada.ca of www.ugg-boots.ca only www.airmax-2015.org one www.poloralphlaurenoutlet.net.co person www.thenorth-faces.co.uk to www.abercrombie-and-fitch.us.com take www.ralphlauren-polos.co.uk the www.christianlouboutinoutlet.net.co handkerchief www.nike-air-max.ca out www.nikefree5.net of www.calvin-kleins.us.com his www.ghd-hairstraightener.net mouth in www.michaelkorsoutlet.ar.com a www.jordan-shoes.com.co circle www.rosherun.org.uk singing www.supra-shoes.org Diushou www.levisjeans.com.co Juan www.jordanrelease-dates.us.com songs, www.ferragamo.com.co danced www.newbalance.com.es around www.jimmy-chooshoes.com the www.moncler-outlet.us.org circle www.designerhandbagsoutlet.net.co turning www.louisvuitton.so quietly www.pumashoes.in.net throw www.louis-vuittonoutletcanada.ca the www.the-northface.com.co handkerchief www.cheaprayban.com.co in www.raybans.us.org the www.ralphlaurenoutlet-online.us.com back www.rayban-sunglassesoutlet.co.uk of www.barbour-factory.com a www.toryburch-sandals.in.net person. www.ray-bansunglasses.net Then www.ralph-laurens.org.uk run airmax.shoesoutlet.us.com around www.eyeglassframes.in.net in www.longchamp-bags.us.com circles. www.burberry2016.co.uk If www.ghdhair-straighteners.co.uk you www.louis-vuitton-australia.com.au have www.thenorthfacejackets.net.co a www.mmoncler-outlet.com lap behind www.michael-kors-handbags.us.com the handkerchief patting, www.valentino-shoesoutlet.us.com this www.michael-korshandbags.org.uk people www.babyliss-pro.us.com have www.rolex-watch.me.uk not www.oakleys-sunglasses.us.com found airmax.misblackfriday.com the www.beats-headphone.com.co person you www.tomsshoes-outlet.us.com want www.coco-chanel.com.de to www.air-huarache.co.uk give www.michaelkors.com.se a www.edhardy.us.org performance www.newbalance-outlet.org for www.rayban-wayfarer.in.net everyone; www.ralphlaurenoutletonline.us.org a www.replica-handbags.net.co joke, www.prada.com.de sing www.burberry-handbagsoutlet.com.co songs, www.adidas-superstar.nl or back www.ralphlaurenepolo.com poem. www.yoga-pants.ca Then www.polo-ralph-lauren.de began www.hollister.us.org Diushou www.new-balance-schuhe.de Juan www.uggs.co.nl by www.lululemonoutlet.gb.net him www.nike-maxfr.com or www.juicycoutureoutlet.net.co her. www.converse-shoes.net If www.cheapjerseys.com.co this www.oakley.org.es is www.nike--freerun.co.uk discovered www.burberrybags-outlet.com immediately www.truereligion-outlet.us.org took www.tomsoutlet-online.com the www.mk-outlet.us.com handkerchief www.louboutin.jp.net catch www.oakleys-glasses.us.com Diushou www.ugg-bootsclearance.com Juan www.abercrombie-hollister.nl people, www.polos-ralphlauren.us.com that www.toryburchoutlet-sale.us.com Diushou www.tnf-jackets.us.com Juan www.ralphs-lauren.co.uk will www.tiffanyandco-canada.ca continue to www.ralphlaurenoutlet.us.com lose, www.christian-louboutin-shoes.ca someone www.michael-kors.com.es who www.oakley-sunglasses.mex.com can www.rolexwatches-canada.ca back www.bcbg-max-azria.ca into www.thomas-sabo.com.de place; www.nike-schuhe.com.de catch, www.cheapjerseys.us.org and www.uggs.in.net throw www.oakleyoutlet-online.us.com this www.chi-flatiron.us.com man www.louisvuittons.com.co who www.pradaoutlet.com.co has www.asics-outlet.us.com sat www.rayban.com.de on www.adidas.org.es the www.adidasshoes.top bit www.guccioutlet-sale.in.net when www.chiflatiron.net.co this www.lululemoncanada.ca man www.chanel-bags.com.co will www.cheapuggboots.us.com be www.uggs-onsale.net punished www.louis-vuitton-taschen.com.de performances. www.hogan.com.de We www.northfaceoutlet.com.co will www.louis--vuitton.org.uk play www.abercrombie-kids.us.com along with www.handbagsoutlet.net.co a www.pandora.com.de dozen www.uhren-shop.com.de "Stars www.rayban-sunglasses.us.org over www.pandorajewellery.com.au the www.oakley--sunglasses.com.au month www.salvatoreferragamo.in.net child" www.true-religion.com.co or www.newbalance-shoes.org "cat www.marcjacobs.us.com drilled www.timberlands-paschere.fr 72 www.longchamp.com.de holes" game. www.mizuno-running.net (Read www.nike-roshe-run.de the www.coach-factoryyoutletonline.net article www.cheap-raybans.com Network: www.thejoreseproject.com www.sanwen.net)Also www.uggboots.net.co I www.timberlandbootsoutlet.us.com remember one www.nike-air-max.com.se summer, www.michaeljordan.com.de that www.the-northfacejackets.us.com the www.rayban.co.nl acquisition www.christianlouboutinshoes.jp.net of www.hollisteronlineshop.com.de medicinal www.ugg-uggboots.net city www.soccer-shoes.us.com recovered www.pulseras-pandora.com.es cicada www.kate-spade.in.net skin www.ugg-australia.com.de (medical www.the-northface.net.co term www.giuseppe-zanotti.net called www.uggboots.com.de cicada), www.tory-burchshoesoutlet.net catty www.converse.net.co two www.swarovskijewelry.com.co five. So www.fashionclothes.us.com every www.adidas--canada.ca day, www.wedding--dresses.ca together with www.juicycouture.com.co my www.ralph-laurenoutlet.ca brothers www.nike-schoenen.co.nl holding www.coach-factoryoutlet.net.co bamboo, Dianzhe www.designer-handbagsoutlet.us.com plastic www.tiffany-und-co.de bags, www.jimmy-choos.com and www.replicarolex-watches.us.com from www.cheapoakley-sunglasses.in.net the www.longchampoutlet.com.co village www.polooutlets-store.com in www.airmax-90.org the www.michael-kors-outlet.us.org woods www.bcbg-dresses.com to www.tomsoutletonline.net find www.vans-schuhe.com.de a tree cicada skin, www.louisvuitton-outlets.us after www.truereligionjeans.net.co the www.gucci-outletstore.com end www.nikefactory.org of www.coach-purseoutlet.net the www.canada-goosesjackets.us.com summer, www.maccosmetics.gr.com we www.lululemon-australia.com.au harvest www.burberry-outlet.net.co relatively www.truereligion-outlet.com.co big, www.thomas-sabos.org.uk full www.nikestore.us harvest www.ralphlauren-polos.com.co four www.montblanc--pens.in.net pounds, www.oakleyoutlet.ar.com to www.louis-vuittonblackfriday.com buy www.pradahandbags.net.co ten www.toms-shoes.com.co dollars. www.raybans-sunglassesoutlet.in.net The www.nike-air-max.com.au next www.burberryonlineshop.de summer www.outlet-burberry.net.co we www.tommy-hilfiger.co.nl look www.nfl-jersey.us.com for www.nike.org.es a www.horloges-rolex.nl summer, www.barbour-jacketsoutlet.com more than www.toms-shoes.net.co the www.bebeclothing.in.net first www.oakleysunglasses-cheap.in.net year www.jordanretro.org looking www.pumaonline-shop.de for www.cheapshoes.com.co even more, www.burberrys-outlet2016.com I did www.mcm-bags.in.net not www.michael-kors-outlet-online.us.org expect www.bottegaveneta-bagsoutlet.com there www.hollister-clothing.in.net to www.mcmhandbags.com.co happily www.mcmsworldwide.com after www.adidas-superstar.de being www.coachhandbags2016.us.com told not www.omega-watches.us.com recovered. airhuarache.shoesoutlet.us.com Cicada www.coco-chanels.us.com got www.basketballshoes.com.co hard www.iphone-cases.net.co skin, www.michaelkors-outlet-online.com.co back www.tommyhilfigeroutlet.in.net at www.salomon-schuhe.com.de home www.zxcoachoutlet.com after www.tiffanyand-co.net.co shuffling, www.christian--louboutin.in.net and

www.beatsbydre.com.co

Comment by zyf543 19 weeks and 6 days ago

Your point of view

You must be signed in to comment.