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

Batch convert files to utf-8

Terminal - Batch convert files to utf-8
find . -name "*.php" -exec iconv -f ISO-8859-1 -t UTF-8 {} -o ../newdir_utf8/{} \;
2009-02-12 13:07:54
User: afinzel
Functions: find iconv
17
Batch convert files to utf-8

Alternatives

There are 4 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

I'm shocked Finzel, you mean to tell me they weren't in UTF-8 format to start with! You haven't been using that other OS again have you?

Comment by xiris 449 weeks and 2 days ago

Have a look at fslint which will report which are not in UTF8 and allow you to selectively convert them: http://www.pixelbeat.org/fslint/

Comment by pixelbeat 449 weeks and 1 day ago

Eep I didn't actually add that to the GUI. The detection script is here:

http://fslint.googlecode.com/svn/trunk/fslint/findu8

Comment by pixelbeat 449 weeks and 1 day ago

sorry. i?m new one in linux command. But this command get the same result with the same name. no ?!

Comment by FabianHutch 84 weeks and 2 days ago

zhengjx 20170413

http://www.chromehearts.com.co

http://www.adidasnmdrunner.us.com

http://www.atlantafalconsjerseys.us

http://www.adidasnmd.co

http://www.adidasneo.us.com

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

http://www.nikedunks.us.org

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

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

http://www.nikerosheone.co.uk

http://www.nikerosheone.us.com

http://www.longchampbags.us.org

http://www.cheapauthenticjordans.us.com

http://www.nikeairforce1.us.com

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

http://www.linksoflondonus.com

http://www.chromeheartsonlinestore.us.com

http://www.nikezoom.us.com

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

http://www.adidasultraboost.us.org

http://www.adidasstansmith.uk

http://www.hardenshoes.us.com

http://www.nike-air-huarache.uk

http://www.jewelrypandora.in.net

http://www.cheaprealjordans.us.com

http://www.lebron13.us.com

http://www.thelightupshoes.us.com

http://www.nikezoom.me.uk

http://www.outletonline--michaelkors.com

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

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

http://www.airjordanretro.uk

http://www.huarachesshoes.co.uk

http://www.yeezy-shoes.org

http://www.toryburchshoes.co.uk

http://www.rosherun.us.com

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

http://www.cheapretro-jordans.com

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

http://www.fitflops.cc

http://www.pandorabracelet.in.net

http://www.outlettimberland.us.org

http://www.adidassuperstar.org.uk

http://www.yeezyboost.com.co

http://www.airhuaraches.org.uk

http://www.airmaxthea.us.com

http://www.kobesneakers.com

http://www.huaracheshoes.uk

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

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

http://www.nikemercurial.us.com

http://www.yeezy-shoes.us

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

http://www.pandorauk.uk

http://www.michaelkorsoutletstoreonline.com.co

http://www.kobebasketballshoes.us.com

http://www.kobeshoes.uk

http://www.michaeljordanshoes.us.com

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

http://www.boostyeezy.us.com

http://www.longchamp.me.uk

http://www.airhuarache.uk

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

http://www.charmspandora.in.net

http://www.reebokoutlet.us.org

http://www.linksoflondon.us.com

http://www.hermes-belt.us.com

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

http://www.yeezyboost.in.net

http://www.hermes-belt.co.uk

http://www.adidastubular.us.com

http://www.cheapbasketballshoes.us.com

http://www.ultraboost.us.com

http://www.authenticjordanscheap.us.com

http://www.adidasneo.org.uk

http://www.jordanshoes.com.co

http://www.lacostepoloshirts.us.com

http://www.hoganoutlet.cc

http://www.yeezyboost350.com.co

http://www.adidasstansmith.us.com

http://www.kobebasketballshoes.net

http://www.bootstimberland.co.uk

http://www.chrome-hearts.us.com

http://www.ledshoes.us.com

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

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

http://www.jordanshoes.uk

http://www.mkoutlets.us.com

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

http://www.nmdadidas.us.com

http://www.yeezyshoes.uk

http://www.nikepolo.us

http://www.michaelkorsoutletonlinesale.com.co

http://www.longchamphandbagsoutlet.us.org

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

http://www.bagslongchamp.uk

http://www.patriotsjerseys.us.com

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

http://www.adidassuperstar.us.com

http://www.michael-kors-handbags.org.uk

http://www.adidasultra.us.com

http://www.huarachesshoes.uk

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

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

http://www.adidastubular.co.uk

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

http://www.lacosteonline.cc

http://www.kyrie3.us.com

http://www.jordansforcheap.us.com

http://www.adidasnmd.uk

http://www.truereligionjeans.uk

http://www.airjordan.us.com

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

http://www.outletlongchamp.us.com

http://www.toryburchshoes.us

http://www.michaelkorshandbagssale.us.org

http://www.michaeljordanshoes.net

http://www.lebron14.us.com

http://www.air-max.us.com

http://www.fitflops-saleclearance.us.com

http://www.longchamphandbags.us.org

http://www.louboutinshoes.uk

Comment by zhengjx 23 weeks and 2 days ago

http://www.coachfactoryoutletofficials.us.com

http://www.polooutlet.us.org

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

http://www.longchampoutletofficial.us.com

http://www.asicsrunningshoes.us.com

http://www.mlbjerseys-wholesale.us.com

http://adidasyeezyshoes.adidassale.net

http://www.cheapnfljerseys.eu.com

http://www.cheapraybans-sunglasses.us.com

http://www.cheapuggs.name

http://www.ralphlaurenofficial.us.com

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

http://www.ralph-laurenoutletuk.me.uk

http://www.oakley-sunglassesoutletonline.us.com

http://www.nbajerseyss.us.com

http://www.airjordan.us.org

http://www.poloralphlauren-uk.me.uk

http://www.nike-shoes.us.org

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

http://www.coachfactoryoutletmiami.us.com

http://www.oakleysunglassesss.us.com

http://www.coachoutletonlinecoachfactoryoutlets.us.com

http://www.montblancpensoutlet.com

http://www.coachfactoryoutletonlinestores.us.com

http://cheapraybansunglasses.co-sunglasses.com

http://www.michael-korsoutletstore.in.net

http://www.michaelkorsoutletclearancehandbags.us.com

http://www.ralphlaurenoutletonlinestore.us.com

http://www.fredperry.org.uk

http://www.oakleysunglassesfactory.us.com

http://www.canadagoosejacketssale.us.com

http://www.ralph-laurenpolooutlet.us.com

http://nikeshoes.up-nike.com

http://www.oakley-sunglassesclearance.us.com

http://www.polo-ralphlaurenuk.me.uk

http://www.michaelkorsoutlet-clearance.org

http://www.fitflopsaleclearance.us.com

http://www.oakleysunglasseswholesaler.us.com

http://www.michaelkorsoutletclearancee.us.com

http://www.pandoraoutletstore.us.com

http://www.edhardyclothing.us.com

http://www.michaelkorssoutletclearance.us.com

http://www.michael-korshandbags.in.net

http://www.michaelkorsoutlet-clearance.us

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

http://www.longchampoutlet.us.org

http://poloralphlauren.amegov.com

http://www.valentinooutlet.in.net

http://www.oakleysunglasseswholesalee.us.com

http://www.raybansunglassesformen.us.com

http://www.yeezyboost350-v2.us.com

http://www.michaelkorsoutlet-clearances.us.com

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

http://www.adidasoutlet.com.co

http://www.coachoutletcoachoutletstore.us.com

http://www.hermesbeltsoutlet.us.com

http://nikeshoes.nike-com.com

http://www.nhljerseyss.us.com

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

http://www.mlbjerseys.net

http://www.canadagoose.name

http://www.oakleysunglassescheaps.us.com

http://www.lacosteoutlet.us.org

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

http://www.pandoraoutlets.us.com

http://www.lebron-jamesshoes.us.com

http://www.cheapmlb-jerseys.us

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

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

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

http://www.ralphlauren-shirts.org.uk

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

http://www.mulberryhandbagsuk.co.uk

http://www.mbtshoescheap.us.com

http://www.canadagooses.com.co

http://www.ralphlauren-polo.me.uk

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

http://www.oakleysunglassesformen.us.com

http://www.lunetterayban.fr

http://www.ralphlaurenshirts.me.uk

http://www.polooutletralphlauren.us.com

http://www.fredperryoutlet.us.com

http://www.mcmoutlets.us.com

http://www.ralphlauren-outletuk.org.uk

http://www.nikeshoesoutlet.us.com

http://www.airjordan4.us

http://www.nikeshoes.com.co

http://www.coachoutletonlinecoachfactoryoutlet.com.co

http://www.cheapuggboots.org

http://www.adidasoutlet.us.org

http://www.fitflops-saleclearance.us

http://www.michaelkorsoutletofficial.com

http://www.oakleysunglasseswholesaleonline.us.com

http://www.canadagoose-outlets.com.co

http://www.adidasyeezyshoes.name

http://www.polo-ralphlauren-pascher.fr

http://www.pandorajewelrycharms.us.com

http://www.cheapjordansfor-sale.us.com

http://www.christian-louboutinoutlet.us.org

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

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

http://www.raybanssun-glasses.com.co

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

http://www.nikeoutlet.com.co

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

http://www.kate-spadeoutlet.us.org

http://yeezyboost.adidassale.net

http://www.mbtshoesoutlets.us.com

http://www.nikeoutletstorelocations.com

http://www.truereligionjeanss.us.com

http://www.cheapjordans.name

http://raybansunglasses.co-sunglasses.com

http://www.pradaoutletstore.us

http://www.coachfactory-outlet.eu.com

http://www.ralph-laurenpolo.us.org

http://www.michaelkorsoutletonlinestore.us.org

http://www.christianlouboutin.com.co

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

http://www.christian-louboutinshoes.us

http://www.canadagoosejacketss.com.co

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

http://www.fitflopssaleclearance.name

http://www.hermesbirkins.us.com

http://www.raybansun-glasses.com.co

http://www.michaelkorsoutlet-clearance.com

http://www.coachoutletcoachfactoryoutlets.us.com

http://www.adidasshoes.us.org

http://www.raybansunglassesonsale90off.us.com

http://www.ralphlaurenoutlets.org.uk

http://www.katespadeshandbags.us

http://www.coachoutlet-clearance.us.org

http://www.oakleysunglasseswholesales.us.com

http://www.canadagooseoutlet-store.com.co

http://www.montblancpenss.com.co

http://polooutlet.amegov.com

http://www.michaelkorsoutletofficials.us.com

http://www.kate-spadeoutletstore.us.com

http://www.uggoutlet.name

http://www.ralphlaurenpoloshirts.me.uk

http://www.coachfactoryoutletsales.us.com

http://www.cheapuggboots.name

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

http://www.mont-blancpens.us.com

http://www.fredperrypoloshirts.co.uk

http://raybansunglassesoutlet.co-sunglasses.com

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

http://www.poloralph-laurenuk.co.uk

http://www.polooutlet.name

http://www.poloralphlaurenfactorystore.us.com

chenlili20170418

Comment by wengdongdong7 22 weeks and 4 days ago

http://www.yeezyboost350.us.com/ Yeezy Boost 350 V2 Zebra

http://www.max2017.us/ Nike Air Max 2017

http://www.vapor-max.org/ Vapor Max

http://www.spinnerfidgettoy.us/ Fidget Spinner

http://www.raybanoutletclearance.com/ Ray Ban Outlet

http://www.yeezy-boost350v2.com/ Yeezy Boost 350 V2

http://www.nfljerseys.us/ Cheap NFL Jerseys

http://www.longchampbags.us.com/ Longchamp Handbags

http://www.yeezyboost350.us.com/ Yeezy Boost 350 V2

http://www.adidas-uk.org.uk/ Adidas

http://www.vapor-max.com/ Air Max Shoes

http://www.yeezy-shoes.us.com/ Yeezy

http://www.raybansunglasses.ca/ Ray Ban Sunglasses

http://www.yeezys.org/ Yeezys

http://www.yeezyboost-350.org.uk/ Yeezy Boost 350 V2

http://www.kade-sapde.us.com/ Kade Sapde

http://www.adidasoutlets.us.com/ Adidas Outlet

http://www.nike-stores.fr/ Nike Store

http://www.adidas-outlet.in.net/ Adidas Outlet

http://www.underarmouroutlet.us.com/ Under Armour

http://www.timberlanduk.org.uk/ Timberland

http://www.jordan12.us/ Jordan 12

http://www.nikeairmax.us/ Air Max

http://www.outlettoms.us/toms-women-c-1/ Toms Outlet

http://www.ultraboostuncaged.us/ Ultra Boost

http://www.mlb-jerseys.us/ MLB Jerseys

http://www.adidas-nmds.com/ Adidas NMD R1

http://www.oakleyoutlet.net.co/ Oakley Outlet

http://www.katespadeoutlets.us/ Kate Spade Outlet

http://www.adidas-outlet.org/ Adidas Outlet

http://www.nikeairmax-90.com/ Nike Air Max 90

http://www.vapor-max.com/ Vapor Max

http://www.timberland-outlet.us/ Timberland Outlet

http://www.adidas-nmd.org.uk/ Adidas NMD

http://www.adidaseqt.com/ Adidas EQT

http://www.ralphlaurens.org.uk/ Ralph Lauren

http://www.tomsoutlet-online.us.com/ Toms Outlet

http://www.jordan4.us/ Jordan 4

http://www.cheapjordan-shoes.com/ Cheap Jordan

http://www.adidasnmdoutlet.com/ Adidas NMD

http://www.jordan-shoes.in.net/ Jordan Shoes

http://www.katespadeoutlet.us.org/ Kate Spade Outlet

http://www.longchamp-outlet.ca/ Longchamp Outlet

http://www.adidasyeezy.org/ Adidas Yeezy

http://www.adidasnmdsales.us/ Adidas NMD R1

http://www.nike-airmax90.com/ Nike Air Max 90

http://www.running-shoes.top/ Running shoes

http://www.starboots.us/ Basketball Shoes

http://www.michael-kors-bags.us/ Michael Kors bags

http://www.yeezy-outlet.us/ Adidas Yeezy outlet

http://www.asics.us.com/ Asics

http://www.coach-online.us/ Coach Factory Outlet

http://www.vapor-max.com/ Cheap Nike Shoes 2017

http://www.timberland-outlets.org/ Timberland outlet

http://www.jordan-air.us/ Air Jordan

http://www.adidasyeezy.org/ Adidas Yeezy

http://www.nikeairvapormax.top/ Nike VaporMax

http://www.airmaxvapor.com/ Air Maxvapor

Comment by lovelin1987 8 weeks ago

Your point of view

You must be signed in to comment.