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

power off system in X minutes

Terminal - power off system in X minutes
shutdown -h 60
2009-08-23 11:02:39
User: MikeTheGreat
Functions: shutdown
1
power off system in X minutes

Replace 60 with the number of minutes until you want the machine to shut down.

Alternatively give an absolute time in the format hh:mm (shutdown -h 9:30)

Or shutdown right away (shutdown -h now)

Alternatives

There are 5 alternatives - vote for the best!

Terminal - Alternatives
echo init 0 | at now + 2 hours

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 43 weeks and 4 days ago

http://www.royalsteamjersey.com/ KC Royals Jerseys

http://www.royalsteamjersey.com/shop-by-player/lorenzo-cain-jersey.html Lorenzo Cain Jersey

http://www.royalsteamjersey.com/authentic/lorenzo-cain-authentic-jersey.html Lorenzo Cain Authentic Jersey

http://www.royalsteamjersey.com/shop-by-player/alcides-escobar-jersey.html Alcides Escobar Jersey

http://www.royalsteamjersey.com/authentic/alcides-escobar-authentic-jersey.html Alcides Escobar Authentic Jersey

http://www.royalsteamjersey.com/shop-by-player/alex-gordon-jersey.html Alex Gordon Jersey

http://www.royalsteamjersey.com/authentic/alex-gordon-authentic-jersey.html Alex Gordon Authentic Jersey

http://www.royalsteamjersey.com/shop-by-player/kelvin-herrera-jersey.html Kelvin Herrera Jersey

http://www.royalsteamjersey.com/authentic/kelvin-herrera-authentic-jersey.html Kelvin Herrera Authentic Jersey

http://www.royalsteamjersey.com/shop-by-player/eric-hosmer-jersey.html Eric Hosmer Jersey

http://www.royalsteamjersey.com/authentic/eric-hosmer-authentic-jersey.html Eric Hosmer Authentic Jersey

http://www.royalsteamjersey.com/shop-by-player/ian-kennedy-jersey.html Ian Kennedy Jersey

http://www.royalsteamjersey.com/authentic/ian-kennedy-authentic-jersey.html Ian Kennedy Authentic Jersey

http://www.royalsteamjersey.com/shop-by-player/mike-moustakas-jersey.html Mike Moustakas Jersey

http://www.royalsteamjersey.com/authentic/mike-moustakas-authentic-jersey.html Mike Moustakas Authentic Jersey

http://www.royalsteamjersey.com/shop-by-player/salvador-perez-jersey.html Salvador Perez Jersey

http://www.royalsteamjersey.com/authentic/salvador-perez-authentic-jersey.html Salvador Perez Authentic Jersey

http://www.twinsgearstore.com/ Minnesota Twins Authentic Jerseys

http://www.twinsgearstore.com/authentic/brian-dozier-authentic-jersey.html Brian Dozier Authentic Jersey

http://www.twinsgearstore.com/shop-by-player/brian-dozier-jersey.html Brian Dozier Jersey

http://www.twinsgearstore.com/authentic/phil-hughes-authentic-jersey.html Phil Hughes Authentic Jersey

http://www.twinsgearstore.com/shop-by-player/phil-hughes-jersey.html Phil Hughes Jersey

http://www.twinsgearstore.com/authentic/joe-mauer-authentic-jersey.html Joe Mauer Authentic Jersey

http://www.twinsgearstore.com/shop-by-player/joe-mauer-jersey.html Joe Mauer Jersey

http://www.twinsgearstore.com/shop-by-player/glen-perkins-jersey.html Glen Perkins Jersey

http://www.twinsgearstore.com/authentic/glen-perkins-authentic-jersey.html Glen Perkins Authentic Jersey

http://www.twinsgearstore.com/shop-by-player/miguel-sano-jersey.html Miguel Sano Jersey

http://www.twinsgearstore.com/authentic/miguel-sano-authentic-jersey.html Miguel Sano Authentic Jersey

http://www.twinsgearstore.com/shop-by-player/ervin-santana-jersey.html Ervin Santana Jersey

http://www.twinsgearstore.com/authentic/ervin-santana-authentic-jersey.html Ervin Santana Authentic Jersey

Comment by huang1 16 weeks ago

Your point of view

You must be signed in to comment.