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

temporarily override alias of any command

Terminal - temporarily override alias of any command
\ls
2012-01-05 00:35:49
User: libdave
5
temporarily override alias of any command

say, someone has aliased ls to 'ls --color=always' and you want to temporarily override the alias (it does not override functions)

Alternatives

There is 1 alternative - vote for the best!

Terminal - Alternatives
\[command]
2009-02-11 19:34:21
User: wwest4
91

e.g. if rm is aliased for 'rm -i', you can escape the alias by prepending a backslash:

rm [file] # WILL prompt for confirmation per the alias

\rm [file] # will NOT prompt for confirmation per the default behavior of the command

\foo
2011-09-23 11:00:35
User: egreSS
Tags: alias
19

A simple directive which disables all aliases and functions for the command immediately following it. Shortcut for the bash built-in 'command' - "command linefoo".

Think, {sic}...

inkscape -f file.svg --verb=org.inkscape.color.grayscale --verb=FileSave --verb=FileClose
2009-04-27 18:59:31
User: prayer
Tags: inkscape
5

It requires inkscape 0.46 and lxml packages

\[command]
2015-01-15 18:31:50
User: tyzbit
1

Most distributions alias cp to 'cp -i', which means when you attempt to copy into a directory that already contains the file, cp will prompt to overwrite. A great default to have, but when you mean to overwrite thousands of files, you don't want to sit there hitting [y] then [enter] thousands of times.

Enter the backslash. It runs the command unaliased, so as in the example, cp will happily overwrite existing files much in the way mv works.

\<command>
2011-05-06 15:45:31
User: panlm
-1

if you have a alias like this:

alias cp='cp -i'

# cp file1 file1.bak

equal to

# cp -i file1 file1.bak

(it will not overwrite file1.bak if it exist)

# \cp file1 file1.bak

equal to

# /bin/cp file1 file1.bak

(skip alias settings, it will overwrite file1.bak if it exist)

Know a better way?

If you can do better, submit your command here.

What others think

Duplicate of 615.

Comment by kaedenn 257 weeks and 1 day ago

I usually type in the full path to the command to make sure I'm using both the unaliased command and also to make sure I'm not launching something out of /usr/local/bin/

Comment by Mozai 256 weeks and 1 day ago

http://www.christianlouboutin.in.net

http://www.airjordanretro.uk

http://www.oakleyglasses.com.co

http://www.mlbjerseysauthentic.in.net

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

http://www.ugg.name

http://www.mlbjerseyscheap.in.net

http://www.tiffanyand.co.uk

http://www.cheapralphlauren.in.net

http://www.michaelkorshandbagsoutlet.eu.com

http://www.huaracheshoes.uk

http://www.michaelkorsoutletstoreonline.com.co

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

http://www.fitflopsoutlet.in.net

http://www.jordansforcheap.us.com

http://www.cheapretro-jordans.com

http://www.zoomkb24.com

http://www.oakleysunglassescheap-sale.com

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

http://www.nfljerseyscheap.in.net

http://www.cheapbasketballshoes.us.com

http://www.coach-outlet.in.net

http://www.tomsoutletstore.us.com

http://www.jordanretro.uk

http://www.jewelrytiffanyand.co

http://www.cheapairjordan.us

http://www.cheapairjordan.in.net

http://www.chromehearts.in.net

http://www.adidasnmd.uk

http://www.kobebasketballshoes.net

http://www.minireplicahut.com

http://www.outletmichaelkorsinc.com

http://www.11jordanshoes.com

http://www.oakleysunglassesoutlet.us

http://www.uggoutlet.uk

http://www.michaeljordanshoes.us.com

http://www.cheapnfljerseysonlinestore.com

http://www.oakley-sunglassescheapsale.com

http://www.tomsoutletstore.name

http://www.adidasnmd.com.co

http://www.michaelkors-handbags.net

http://www.huarachesshoes.uk

http://www.raybansunglass.uk

http://www.discount-oakleysunglasses.us.com

http://www.michaelkorspurse.com.co

http://www.michaelkorsonline.net

http://www.michaelkorshandbagsclearance.com.co

http://www.airhuaraches.org.uk

http://www.michaeljordanshoes.net

http://www.michaelkorsoutletsfactory.us.com

http://www.mlbjerseyswholesale.in.net

http://www.oakleyvault.com.co

http://www.michaelkors-outletstores.in.net

http://www.michaelkorshandbags.net

http://www.nfljerseyswholesale.in.net

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

http://www.oakleysunglassescheapssale.com

http://www.2016michaelkorsoutlet.us.com

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

http://www.outlettiffanyandco.us.com

http://www.outlettiffanyand.co

http://www.truereligiononsale.in.net

http://www.raybansunglass.us

http://www.oakleysunglasses-cheapsale.com

http://www.louis-vuittonhandbags.net

http://www.cheaptiffanyandco.in.net

http://www.oakley-sunglasses.co

http://www.airhuarache.uk

http://www.kobeshoes.uk

http://www.outletmichaelkors.com.co

http://www.fitflops.cc

http://www.jewellerytiffanyand.co

http://www.michaelkors-outletonline.co.uk

http://www.michaelkorsonline.name

http://www.cheaptruereligionjeans.us

http://www.fitflopssandals.net

http://www.cheapralphlaurenonline.uk

http://www.chromehearts.com.co

http://www.outletonlinemichaelkors.us.org

http://www.authenticjordanscheap.us.com

http://www.kobesneakers.com

http://www.huarachesshoes.co.uk

http://www.michaelkorsoutletonline.uk

http://www.nfljerseys2015.in.net

http://www.chinajerseyssaleonline.com

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

http://www.fitflops.com.co

http://www.raybansunglassesoutlet.org

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

http://www.cheapairjordan.uk

http://www.tiffany.net.co

http://www.zoomkb24.uk

http://www.raybanglasses.in.net

http://www.oakleystoreonline.us.org

http://www.cheapnfljerseysstorechina.com

http://www.michaelkorsoutlets-online.eu.com

http://www.tiffanyandcouk.uk

http://www.rayban-sunglasses.uk

http://www.michael-kors-handbags.com.co

http://www.tiffanyandcojewellery.us.com

http://www.fitflopsoutlet.uk

http://www.cheapauthenticjordans.us.com

http://www.oakleyoutlet-store.com

http://www.oakleysunglassescheapsales.com

http://www.airjordan.cc

http://www.christian-louboutin-outlet.uk

http://www.nikedunks.us.org

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

http://www.tiffanyandcooutletonline.us.com

http://www.cheaprealjordans.us.com

http://www.cheaprolexwatchesonline.in.net

http://www.nmdadidas.us.com

http://www.kobebasketballshoes.us.com

http://www.oakley-sunglass.in.net

http://www.oakleyssunglassescheapsale.com

http://www.cheap-jordanshoessale.com

http://www.michaelkorsoutletin.net

http://www.chromeheartsonline.us.com

Comment by sanjunn 28 weeks and 2 days ago

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

http://www.abercrombieandfitchoutlet.in.net

http://www.jordanretro.name

http://www.louisvuittonhandbagsoutlet.us.org

http://www.gucci-outlet.in.net

http://www.niketn-pascher.fr

http://www.toms.us.org

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

http://www.louisvuitton.nom.co

http://www.cheapjordansshoes.us.com

http://www.christianlouboutinsale.me.uk

http://www.airjordan-pascher.fr

http://www.discountuggboots.us.com

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

http://www.jordanshoes.us.org

http://www.newyorkknicksjerseys.us.com

http://www.uggoutletsale.in.net

http://www.hollisterclothing.net

http://www.uggoutlet-stores.us.com

http://www.louisvuitton-handbags.com.co

http://timberlandboots.hugeoff.net

http://www.nike-rosherun.in.net

http://www.nfljerseyswholesales.us

http://www.outlet-celine.com

http://www.timberlandboots.net.co

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

http://www.adidasoutletstore.net

http://www.canadagooseuk.uk

http://www.katespadeoutlets.us.com

http://www.cheapuggssale.us.com

http://www.clarisonic.com.co

http://www.coachclearance.us.com

http://www.canadagoose-pascher.fr

http://www.hilfigeroutlet.in.net

http://www.true-religionjeans.us.org

http://www.nhljerseys.org

http://www.montblanc-pens.name

http://www.uggsoutletsale.us.com

http://www.cheapoakleysunglassess.com.co

http://www.ralphlaurenoutletonline.in.net

http://www.tommyhilfigeroutlet.us.org

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

http://www.newenglandpatriotsjerseys.us.com

http://www.rolexwatches.us.com

http://www.coachfactoryoutlet-online.eu.com

http://www.coachfactoryoutletmall.us.com

http://www.nikeoutletstore.us.com

http://www.chaneloutlet.in.net

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

http://www.airmaxssale.com

http://www.louisvuittonlvoutlet.us.com

http://www.gucci-outlet.org

http://www.oakleysunglassess.com.co

http://www.uggoutletdiscount.us.com

http://www.uggsuk.org.uk

http://www.abercrombiefitch.us.com

http://www.adidasshoes.net

http://www.uggsaustralia.it

http://www.monclerpascherhomme.fr

http://www.uggslippers.com.co

http://www.clevelandcavaliersjerseys.us.com

http://www.adidastrainers.uk

http://www.retrojordans.name

http://www.oakleysunglassescanada.ca

http://www.raybanpascher.fr

http://www.outletslouisvuitton.us.com

http://www.miamiheatjerseys.us.com

http://www.cheapuggboots.org.uk

http://www.toms-shoes.cc

http://www.edhardyclothing.in.net

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

http://www.truereligion.net.co

http://www.redbottoms.org.uk

http://www.aididasyeezy.org.uk

http://www.cheaprolexwatches.name

http://www.lebronjames-shoes.name

http://www.uggsbootsoutlet.us.org

http://www.mlbjerseys.org

http://www.tomsshoesuk.org.uk

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

http://www.jordan8.net

http://www.gooseoutlet.us.com

http://www.tomswedges.us

http://www.tiffanyandco.nom.co

http://www.oklahomacitythunderjerseys.us.com

http://www.kobeshoes.org

http://www.moncleroultet.us.com

http://www.coachhandbagsnew.us.com

http://www.niketrainers.uk

http://www.kevindurantshoes.name

http://www.ugg-outlet.ca

http://www.truereligion-jeans.us

http://www.uggaustralia.us.org

http://www.adidasoriginals.in.net

http://www.moncler.me.uk

http://www.uggs.me.uk

http://www.raybansunglassesoutlet.net.co

http://www.coachoutletstoreonlineclearances.us.com

http://www.adidasyeezy350.us.com

http://www.rosherun.org

http://www.rayban-sunglasses.com.co

http://www.louboutin.us.com

http://www.adidas.in.net

http://www.louisvuitton-outlet.ca

http://www.coachfactoryoutlet-stores.us.org

http://www.ralphlaurenpolo.in.net

http://www.outletcanadagoose.name

http://www.adidassuperstar.name

http://www.ugg-boots.fr

http://www.uggs-pascher.fr

http://www.pandorajewelry.in.net

http://uggs.uggaustralia.qc.com

http://www.goldenstatewarriorsjerseys.us.com

http://www.uggbootscheap.us.com

http://www.michaelkorsoutletstores.us.org

http://www.ray-banssunglasses.com.co

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

http://www.outletmichaelkorshandbags.us.com

http://www.hogan-scarpe.it

http://www.cheapuggsboots.us.com

http://www.pittsburghsteelersjerseys.us.com

http://www.canadagooseoutletsale.us.com

http://www.authenticlouisvuittonhandbags.us.com

http://www.todsoutlet.in.net

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

http://www.raybanoutlet.net.co

http://www.fitflops.org

http://www.raybanssunglasses.com.co

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

http://www.ugguk.me.uk

http://www.louisvuittonoutletonlineshop.com

http://www.katespade.eu.com

http://www.polooutlet-online.us.com

http://www.raybansonsale.com.co

http://www.louisvuitton-discount.com

http://www.katespadehandbagsoutlet.us.com

http://www.christianlouboutinoff.us

http://www.cheaprolexforsale.com

http://www.jordansforsale.in.net

http://www.ugg-italia.it

http://www.cincinnatibengalsjerseys.us.com

http://www.longchamp-sac.fr

http://www.hermesbags.us.org

http://www.rolexwatchesforsale.name

http://www.uggsoutletcheap.us.com

http://www.nike--rosherun.fr

http://www.nike-airmaxpascher.fr

http://www.michaelkorsuk.com.co

http://www.supra-shoes.net

http://www.cheapjordansforsale.us

http://www.abercrombieoutletonline.cc

http://www.bostoncelticsjerseys.com

http://www.canadagoosecanada.us.org

http://www.uggsboots.us.org

http://www.curry3.name

http://www.uggsoutlet-online.us.com

http://www.washingtonwizardsjerseys.com

http://www.tomssale.in.net

http://www.raybansunglasses.uk

http://www.nikeoutlet-online.com

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

http://www.sanantoniospursjerseys.us.com

http://www.louis-vuittonoutlet.us.com

http://www.louboutinshoessale.com

http://www.toryburchoutlet.us.org

http://www.louboutinshoes.cc

http://www.pandorauk.me.uk

http://www.outletcanadagoose.com.co

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

http://www.adidas-nmd.co.uk

http://www.cheapraybansunglasses.net.co

http://www.north-faceoutlet.net.co

http://www.uggbootsparis.fr

http://www.monclerjacketsuk.me.uk

http://www.canadagoosecanada.com.co

http://oakley.sunglassesonline.us.com

http://www.tomsshoes-outlet.com

http://www.louisvuittonparis.fr

http://www.prada.us.org

http://www.seattleseahawksjerseys.us.com

http://www.fitflops.us.com

http://www.ray-ban-sunglasses.com.co

http://www.christianlouboutin-paris.fr

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

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

http://www.poloralphlaurenukonline.co.uk

http://www.coachoutletstoreonlinesale.us.com

http://www.christianlouboutin.name

http://www.louis-vuittonoutlet.eu.com

http://www.poloralph-lauren.us.org

http://www.burberry-outletonline.com.co

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

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

http://www.uggbootaustralia.us.com

http://www.sunglassesoakley.com.co

http://www.nba-jerseys.us.com

http://www.pradahandbags.net

http://www.coachoutletofficial.us.com

http://www.officialmichaelkorsoutlet.us.com

http://www.michaelkorsoutletcanada.com.co

http://www.mcmbags.com.co

http://www.louisvuittonoutletstores.us

http://www.ugg.eu.com

http://www.northface.us.com

http://www.oakleyvaultoutlet.in.net

http://www.louis-vuitton.me.uk

http://www.louisvuittonofficial.us.com

http://www.gucci-inc.com

http://www.jordan6.net

http://www.chicagobullsjerseys.com

http://www.outletsmichaelkors.us.com

http://www.longchamp.us.com

http://www.louboutinshoesoutlet.co.uk

http://www.giuseppe-zanotti.us.com

http://www.tiffanyandcojewelry.com.co

http://www.louisvuitton.me

http://www.ugg-canada.ca

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

http://www.beatsbydrdresolo.us

http://www.replicawatches.name

http://www.michaelkorsoutletclearance.us.org

http://www.uggsclearance.us.org

http://www.cheapoakleysunglasses.net.co

http://www.fitflopsuk.me.uk

http://www.true-religion.me.uk

http://www.pandorajewelry.us.org

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

http://www.uggboots-onsale.us.org

http://www.montblancpen.us.com

http://www.raybansunglasses.me.uk

http://www.coachfactoryoutlet-onlinestore.us.com

http://www.monclerjacketsonline.us.com

http://www.seattleseahawksjersey.us.com

http://www.thenorthface.net.co

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

http://www.cheapjordansshoes.in.net

http://www.hollister.in.net

http://www.burberryoutlet.in.net

http://www.jordan4.net

http://www.kobebryantshoes.name

http://timberland.officialfree.net

http://www.mbt.us.com

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

http://www.michaelkorshandbagsonsale.com

http://www.ralphlaurenoutletofficial.us.com

http://www.cheapraybans.us.org

http://www.nikeoutletstores.us.com

http://www.jordan13.org

http://www.canadagoosejacketsoutlet.us.com

http://www.coachoutletonlinesale.eu.com

http://www.cheaptoryburchoutlet.com

http://www.pradaoutlet.net.co

http://www.asicsshoes.name

http://www.chanelbags.in.net

http://www.hollistercoclothing.com

http://www.poloralphlaurenuk.co.uk

http://www.fitflopssaleclearance.us.org

http://www.denverbroncosjerseys.us.com

http://www.louis-vuittonoutlets.us.org

http://www.losangelesclippersjerseys.com

http://www.uggoutletonline.in.net

http://www.christianlouboutinoutlet.com

http://www.uggoutlet.org

http://www.truereligion-jeans.com.co

http://www.vansshoes.name

http://www.nikefactoryoutlet.org

http://www.jordanconcords.net

http://www.coachfactoryoutletclearances.us.com

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

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

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

http://www.dallasmavericksjerseys.com

http://www.oakleystore.com.co

http://www.moncler--paris.fr

http://www.gucci.me.uk

http://www.coachcanadaoutlet.com.co

http://www.uggclassic.us.com

http://www.canadagooseca.us.com

http://www.jordanfemmepascher.fr

http://www.uggcheap.us.com

http://www.louis-vuitton-borse.it

http://www.celine-outlet.us

http://www.minnesotavikingsjerseys.us.com

http://www.louisvuitton.de.com

http://www.uggbootscanada.ca

http://www.rolexwatchesoutlet.us

http://www.basketballshoes.name

http://www.canadagoose.com.co

http://www.lebronjames-shoes.net

http://www.raybansunglassess.com.co

http://www.coachoutletcheap.us.com

http://www.montblanc.com.co

http://www.louboutinfemme-pascher.fr

http://www.jordan3.net

http://www.ralphlaurenukofficial.org.uk

http://www.tomsshoes.us.org

http://www.michaelkorsoutletofficial.us.com

201611.28wengdongdong

Comment by dongdong8 1 week and 5 days ago

Your point of view

You must be signed in to comment.