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

Open screen on the previous command

Terminal - Open screen on the previous command
screen !!
2012-10-15 12:58:38
User: bartonski
Functions: screen
1
Open screen on the previous command

I often find myself wanting to open screen on whatever command I'm currently running. Unfortunately, opening a fresh screen session spawns a new bash session, which doesn't keep my history, so calling screen directly with the previous command is the only way to go.

Alternatives

There is 1 alternative - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

All these !! & !$ commands are part of the history command set

man history

Is your friend

Comment by bulwynkl 248 weeks and 5 days ago

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 31 weeks ago

http://www.freetobeyou.it/ Adidas Yeezy 350 Boost Donna Uomo

http://www.freetobeyou.it/yeezy-boost-350-v2.html Yeezy Boost 350 V2

http://www.freetobeyou.it/yeezy-350-boost.html Yeezy 350 Boost

http://www.freetobeyou.it/ultra-boost-uncaged.html ULTRA BOOST Uncaged

http://www.freetobeyou.it/ultra-boost-2017.html ULTRA BOOST 2017

http://www.freetobeyou.it/ultra-boost.html ULTRA BOOST

http://www.freetobeyou.it/nmd.html NMD

http://www.freetobeyou.it/pure-boost.html PURE BOOST

http://www.freetobeyou.it/valclean2-cmf.html VALCLEAN2 CMF

http://www.freetobeyou.it/team-court.html TEAM COURT

http://www.freetobeyou.it/zx-700.html ZX 700

http://www.freetobeyou.it/zx-750.html ZX 750

http://www.freetobeyou.it/tubular-shadow-knit.html TUBULAR SHADOW KNIT

http://www.freetobeyou.it/eqt-support-adv.html EQT SUPPORT ADV

http://www.freetobeyou.it/equipment-10-m.html EQUIPMENT 10 M

http://www.freetobeyou.it/zoom-all-out.html ZOOM ALL OUT

http://www.freetobeyou.it/air-max-tailwind-8.html AIR MAX TAILWIND 8

http://www.freetobeyou.it/air-zoom-pegasus-34.html AIR ZOOM PEGASUS 34

http://www.freetobeyou.it/air-zoom-vomero-11.html AIR ZOOM VOMERO 11

http://www.freetobeyou.it/air-zoom-vomero-12.html AIR ZOOM VOMERO 12

http://www.freetobeyou.it/lunarglide-8.html LUNARGLIDE 8

http://www.freetobeyou.it/flyknit-lunar3.html FLYKNIT LUNAR3

http://www.freetobeyou.it/free-rn.html FREE RN

http://www.freetobeyou.it/free-5-0.html FREE 5.0

http://www.freetobeyou.it/air-max-2016.html AIR MAX 2016

http://www.airmax90pro.com/ Cheap Nike Air Max 90

Comment by huang1 3 weeks and 2 days ago

Your point of view

You must be signed in to comment.