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

parted - scripted partitioning (of all multipathed SAN LUNs)

Terminal - parted - scripted partitioning (of all multipathed SAN LUNs)
for i in $(multipath -ll | grep "3PARdata,VV"|awk '{print $1}') ; do parted -a optimal /dev/mapper/$i --script -- mklabel gpt mkpart primary 1 -1 set 1 lvm on ; done
2012-09-12 15:30:36
User: mhs
Functions: awk grep set
1
parted - scripted partitioning (of all multipathed SAN LUNs)

`multipath -ll` requires Device Mapper multipath.conf configuration. And of course, replace "3PARdata,VV" with your disk array's SCSI vendor,LUN name.

- GPT partition table allows you to create >2TB partitions

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

20170427 leilei3915

http://www.lunetterayban.fr

http://www.oakleysunglassesformen.us.com

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

http://www.canadagoosejacketss.com.co

http://www.oakleysunglassescheaps.us.com

http://raybansunglassesoutlet.co-sunglasses.com

http://www.christianlouboutin.com.co

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

http://polooutlet.amegov.com

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

http://www.mbtshoescheap.us.com

http://www.pandoraoutletstore.us.com

http://www.truereligionjeanss.us.com

http://www.coachfactoryoutletsales.us.com

http://www.nhljerseyss.us.com

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

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

http://www.coachfactoryoutletmiami.us.com

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

http://www.fredperry.org.uk

http://cheapraybansunglasses.co-sunglasses.com

http://www.lacosteoutlet.us.org

http://www.michaelkorsoutlet-clearance.us

http://www.pandorajewelrycharms.us.com

http://www.raybansunglassesformen.us.com

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

http://www.nikeshoes.com.co

http://www.longchampoutletofficial.us.com

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

http://www.nbajerseyss.us.com

http://www.valentinooutlet.in.net

http://www.edhardyclothing.us.com

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

http://www.uggoutlet.name

http://www.hermesbeltsoutlet.us.com

http://www.fitflopsaleclearance.us.com

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

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

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

http://www.longchampoutlet.us.org

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

http://www.fredperryoutlet.us.com

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

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

http://www.asicsrunningshoes.us.com

http://www.katespadeshandbags.us

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

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

http://www.polooutlet.name

http://www.oakleysunglassesss.us.com

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

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

http://www.cheapnfljerseys.eu.com

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

http://www.coachoutletonlinecoachfactoryoutlets.us.com

http://www.michaelkorsoutlet-clearance.com

http://www.cheapuggboots.org

http://www.cheapjordans.name

http://www.oakleysunglassesfactory.us.com

http://www.ralphlaurenoutlets.org.uk

http://www.airjordan4.us

http://www.polooutletralphlauren.us.com

http://www.nikeoutletstorelocations.com

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

http://www.canadagooses.com.co

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

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

http://www.oakleysunglasseswholesaleonline.us.com

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

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

http://www.adidasshoes.us.org

http://adidasyeezyshoes.adidassale.net

http://www.coachoutletcoachfactoryoutlets.us.com

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

http://www.nikeshoesoutlet.us.com

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

http://www.canadagoose.name

http://www.coachoutletcoachoutletstore.us.com

http://www.ralphlaurenpoloshirts.me.uk

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

http://yeezyboost.adidassale.net

http://www.michaelkorsoutletclearancehandbags.us.com

http://www.michaelkorsoutletonlinestore.us.org

http://www.fredperrypoloshirts.co.uk

http://www.fitflops-saleclearance.us

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

http://www.polooutlet.us.org

http://www.poloralphlaurenfactorystore.us.com

http://www.coachfactoryoutletofficials.us.com

http://www.michaelkorssoutletclearance.us.com

http://www.canadagoosejacketssale.us.com

http://www.mlbjerseys.net

http://www.montblancpenss.com.co

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

http://www.oakleysunglasseswholesales.us.com

http://poloralphlauren.amegov.com

http://www.cheapmlb-jerseys.us

http://www.ralphlaurenoutletonlinestore.us.com

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

http://nikeshoes.up-nike.com

http://www.airjordan.us.org

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

http://www.coachoutletonlinecoachfactoryoutlet.com.co

http://www.adidasoutlet.us.org

http://www.michaelkorsoutletclearancee.us.com

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

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

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

http://www.mcmoutlets.us.com

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

http://www.coachfactoryoutletonlinestores.us.com

http://www.raybansunglassesonsale90off.us.com

http://www.nikeoutlet.com.co

http://www.oakleysunglasseswholesalee.us.com

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

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

http://www.pradaoutletstore.us

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

http://www.oakleysunglasseswholesaler.us.com

http://www.ralphlaurenofficial.us.com

http://www.adidasyeezyshoes.name

http://www.mbtshoesoutlets.us.com

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

http://www.adidasoutlet.com.co

http://www.michaelkorsoutletofficial.com

http://www.mulberryhandbagsuk.co.uk

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

http://www.fitflopssaleclearance.name

http://www.ralphlaurenshirts.me.uk

http://www.cheapuggboots.name

http://www.michaelkorsoutletofficials.us.com

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

http://www.christian-louboutinshoes.us

http://www.cheapuggs.name

http://www.hermesbirkins.us.com

http://raybansunglasses.co-sunglasses.com

http://www.michaelkorsoutlet-clearance.org

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

http://www.pandoraoutlets.us.com

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

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

http://nikeshoes.nike-com.com

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

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

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

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

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

http://www.montblancpensoutlet.com

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

Comment by leilei3915 21 weeks and 4 days ago

http://www.huaracherunpas-cher.fr/air-huarache-nike_87.html If you're searching with regard http://www.huaracherunpas-cher.fr/nike-air-huarache-solde_181.html to related http://www.huaracherunpas-cher.fr/nike-air-huarache-bleu_167.html shoes for a http://www.huaracherunpas-cher.fr/air-huarache-run_157.html attire you have not http://www.huaracherunpas-cher.fr/basket-huarache_63.html long http://www.huaracherunpas-cher.fr/nike-huarache-pour-femme_155.html ago acquired subsequently take into account http://www.huaracherunpas-cher.fr/huarache-vintage_42.html acquiring an http://www.huaracherunpas-cher.fr/nike-huarache-run_72.html Edward cullen Environmentally friendly http://www.huaracherunpas-cher.fr/air-huarache-homme_67.html http://www.huaracherunpas-cher.fr/air-huarache-paris_138.html shoe pair. Exactly why http://www.huaracherunpas-cher.fr/huarache-run_132.html this kind of brand? http://www.huaracherunpas-cher.fr/achat-nike-huarache_137.html This query http://www.huaracherunpas-cher.fr/huarache-chaussure_122.html may well http://www.huaracherunpas-cher.fr/huarache-noir-et-blanc_96.html go to your brain. http://www.huaracherunpas-cher.fr/nike-huarache-gris_59.html There are many brands http://www.huaracherunpas-cher.fr/nike-huarache-paris_69.html in the market http://www.huaracherunpas-cher.fr/nouvelle-nike-huarache_82.html and also jointly http://www.huaracherunpas-cher.fr/chaussure-nike-air-huarache_76.html all of the http://www.huaracherunpas-cher.fr/huarache-bleu_111.html brand names supply http://www.huaracherunpas-cher.fr/nike-huarache-noir-et-rose_58.html thrilling choices. Bills ., http://www.huaracherunpas-cher.fr/nike-air-huarache-safari_73.html you could http://www.huaracherunpas-cher.fr/nike-huarache-light-ultramarine_171.html possibly search for top http://www.huaracherunpas-cher.fr/nike-air-huarache-og-retro_101.html reasons to buy shoes http://www.huaracherunpas-cher.fr/nike-air-huarache-noir_97.html with http://www.huaracherunpas-cher.fr/nike-air-huarache-blanc_41.html this particular manufacturer. It http://www.huaracherunpas-cher.fr/huarache-femmes_170.html has http://www.huaracherunpas-cher.fr/nike-air-huarache-original_144.html become creating shoes because The nineteenth http://www.huaracherunpas-cher.fr/nike-air-huarache-mid_78.html http://www.huaracherunpas-cher.fr/nike-air-zoom-huarache_89.html century. Right now her greatest range http://www.huaracherunpas-cher.fr/nike-huarache-noir-et-bleu_130.html of shoes to http://www.huaracherunpas-cher.fr/nike-huarache-id_164.html supply. And http://www.huaracherunpas-cher.fr/nike-air-huarache-run-chaussures_174.html you http://www.huaracherunpas-cher.fr/nike-air-huarache-light-ultramarine-og_75.html will be surprised to learn http://www.huaracherunpas-cher.fr/huarache-og_183.html that it is http://www.huaracherunpas-cher.fr/chaussures-air-huarache_128.html on the http://www.huaracherunpas-cher.fr/nike-huarache-3_108.html list of selected http://www.huaracherunpas-cher.fr/nike-id-huarache_158.html handful of that http://www.huaracherunpas-cher.fr/nike-air-huarache-taille_172.html England"s high level group makes http://www.huaracherunpas-cher.fr/nike-air-huarache-international_104.html use http://www.huaracherunpas-cher.fr/huarache-light-og_105.html of. They have able to http://www.huaracherunpas-cher.fr/nike-air-huarache-1991_65.html wear http://www.huaracherunpas-cher.fr/huarache-montante_179.html shoes and you also http://www.huaracherunpas-cher.fr/nike-air-huarache-retro_70.html can purchase http://www.huaracherunpas-cher.fr/nike-huarache-femme-pas-cher_140.html the customised set. http://www.huaracherunpas-cher.fr/huarache-nike-blanche_127.html Celebrate palm sewn http://www.huaracherunpas-cher.fr/air-huarache-noir_116.html along with sewn shoes http://www.huaracherunpas-cher.fr/nike-huarache-run-pas-cher_61.html using pigs" bristles http://www.huaracherunpas-cher.fr/huarache-bordeaux_53.html and never metal http://www.huaracherunpas-cher.fr/nike-huarache-homme_141.html hook. It features http://www.huaracherunpas-cher.fr/nike-huarache-premium_126.html a convention of http://www.huaracherunpas-cher.fr/nike-huarache-jd_46.html making hand made http://www.huaracherunpas-cher.fr/boutique-nike-huarache_151.html shoes and has http://www.huaracherunpas-cher.fr/nike-air-huarache-rouge_47.html now followed this http://www.huaracherunpas-cher.fr/huarache-beige_106.html history because its http://www.huaracherunpas-cher.fr/nike-huarache-femmes_182.html beginning.In starting off, http://www.huaracherunpas-cher.fr/huarache-usa_100.html that created shoes http://www.huaracherunpas-cher.fr/air-nike-huarache_107.html pertaining to http://www.huaracherunpas-cher.fr/nike-air-huarache-2_92.html armed forces workers. Quickly it http://www.huaracherunpas-cher.fr/nike-huarache-toute-noir_154.html absolutely was recognised http://www.huaracherunpas-cher.fr/nike-huarache-leopard_57.html http://www.huaracherunpas-cher.fr/huarache-light_50.html by simply taking over elite and http://www.huaracherunpas-cher.fr/huarache-nike-noir_149.html company collection. http://www.huaracherunpas-cher.fr/nike-huarache-marron_165.html That it was a http://www.huaracherunpas-cher.fr/nike-air-huarache-prix_120.html http://www.huaracherunpas-cher.fr/nike-air-huarache-og_162.html favorite label of this worrying http://www.huaracherunpas-cher.fr/huarache-nike-chaussures_131.html few. However today http://www.huaracherunpas-cher.fr/air-huarache-femme_90.html it features a http://www.huaracherunpas-cher.fr/nike-air-max-huarache-hybrid_121.html combine for all http://www.huaracherunpas-cher.fr/huarache-og-2017_143.html whether or not this http://www.huaracherunpas-cher.fr/nike-air-flight-huarache_102.html individual http://www.huaracherunpas-cher.fr/nike-air-huarache-chaussures_80.html belongs to enterprise http://www.huaracherunpas-cher.fr/nike-huarache-rouge_81.html category, working course or even http://www.huaracherunpas-cher.fr/nike-air-huarache-pas-chere_161.html every http://www.huaracherunpas-cher.fr/nike-huarache-2_166.html other strata involving culture. http://www.huaracherunpas-cher.fr/ You wish http://www.huaracherunpas-cher.fr/huarache-5_74.html ready-to-wear shoes that you can http://www.huaracherunpas-cher.fr/nike-huarache-free-light_134.html use http://www.huaracherunpas-cher.fr/nike-huarache-agassi_133.html just after acquiring take http://www.huaracherunpas-cher.fr/air-huarache-grise_142.html a look with it http://www.huaracherunpas-cher.fr/nike-air-huarache-90_110.html http://www.huaracherunpas-cher.fr/huarache-free-run_145.html is variety. But also http://www.huaracherunpas-cher.fr/nike-air-force-huarache_124.html for especially designed http://www.huaracherunpas-cher.fr/nike-huarache-usa_114.html shoe, you may http://www.huaracherunpas-cher.fr/air-huarache-noire_117.html want looking forward http://www.huaracherunpas-cher.fr/huarache-leopard_77.html to time.This corporation http://www.huaracherunpas-cher.fr/nike-huarache-safari_52.html can make about http://www.huaracherunpas-cher.fr/nike-air-huarache-turquoise_160.html Three hundred frames http://www.huaracherunpas-cher.fr/nike-air-huarache-homme_150.html of shoes per week due http://www.huaracherunpas-cher.fr/air-max-huarache_39.html to the fact http://www.huaracherunpas-cher.fr/huarache-nike-pas-cher_79.html every single http://www.huaracherunpas-cher.fr/chaussure-huarache-nike_173.html combine http://www.huaracherunpas-cher.fr/nike-huarache_93.html was created using a careful http://www.huaracherunpas-cher.fr/huarache-enfant_62.html course http://www.huaracherunpas-cher.fr/air-flight-huarache_68.html of action. The idea http://www.huaracherunpas-cher.fr/nike-huarache-beige_91.html employs authentic http://www.huaracherunpas-cher.fr/huarache-noir-et-rose_109.html cellule synthetic leather skin tone http://www.huaracherunpas-cher.fr/nike-huarache-magenta_51.html that is certainly http://www.huaracherunpas-cher.fr/huarache-4_118.html lustrous to http://www.huaracherunpas-cher.fr/nike-huarache-boutique_147.html be able to top http://www.huaracherunpas-cher.fr/huarache-noir-femme_60.html finish. Have a http://www.huaracherunpas-cher.fr/nike-air-huarache-light-ultramarine_64.html look at Edward cullen http://www.huaracherunpas-cher.fr/nike-huarache-solde_94.html http://www.huaracherunpas-cher.fr/huarache-acheter_83.html Green shoe for making a http://www.huaracherunpas-cher.fr/nike-air-flight-huarache-og_48.html viewpoint for this http://www.huaracherunpas-cher.fr/huarache-2017_99.html company. http://www.huaracherunpas-cher.fr/nike-huarache-free-run-pas-cher_156.html View their ready-to-wear shoes plus http://www.huaracherunpas-cher.fr/nike-air-huarache-light_168.html comprehend the http://www.huaracherunpas-cher.fr/nike-huarache-prix_66.html strategy of producing personalized shoes. http://www.huaracherunpas-cher.fr/nike-air-force-1-huarache_113.html Edward Eco-friendly http://www.huaracherunpas-cher.fr/huarrache-blanche_135.html shoe organization presents Oxfords http://www.huaracherunpas-cher.fr/air-huarache-light_139.html , Derbys, http://www.huaracherunpas-cher.fr/nike-huarache-free-run-2012_146.html Monks, Slip-Ons, Nation and http://www.huaracherunpas-cher.fr/nike-air-huarache-run-pas-cher_98.html also shoes. These ready-to-wear http://www.huaracherunpas-cher.fr/nike-huarache-blanc_85.html shoes are meant http://www.huaracherunpas-cher.fr/acheter-huarache_84.html to accommodate http://www.huaracherunpas-cher.fr/air-huarache-og_71.html person requires. Just http://www.huaracherunpas-cher.fr/nike-air-huarache-light-pas-cher_44.html about every http://www.huaracherunpas-cher.fr/chaussures-huarache_56.html pair have their specialized http://www.huaracherunpas-cher.fr/basket-nike-huarache_45.html and each and http://www.huaracherunpas-cher.fr/chaussures-huarache-nike_152.html every could http://www.huaracherunpas-cher.fr/nike-huarache-fille_148.html be told apart http://www.huaracherunpas-cher.fr/nike-huarache-chaussures_129.html simply by some others. That http://www.huaracherunpas-cher.fr/air-huarache-blanc_123.html won"t be http://www.huaracherunpas-cher.fr/nike-air-huarache-beige_112.html described as http://www.huaracherunpas-cher.fr/free-huarache_103.html a exaggeration http://www.huaracherunpas-cher.fr/huarache-air-max_163.html to express which absolutely no 2 http://www.huaracherunpas-cher.fr/nike-air-huarache-run_43.html shoes because of http://www.huaracherunpas-cher.fr/huarache-chaussures_95.html http://www.huaracherunpas-cher.fr/nikeair-huarache_88.html this corporation are equivalent. What http://www.huaracherunpas-cher.fr/nike-huarache-ultramarine_125.html in relation http://www.huaracherunpas-cher.fr/nike-huarache-violet_54.html to cost? A http://www.huaracherunpas-cher.fr/nike-huarache-taille_49.html business that is http://www.huaracherunpas-cher.fr/huarache-instagram_169.html generating shoes http://www.huaracherunpas-cher.fr/nike-air-huarache-blanche_153.html pertaining to professional group http://www.huaracherunpas-cher.fr/nike-huarache-1991_55.html because a http://www.huaracherunpas-cher.fr/huarache-noir_86.html while should be generating http://www.huaracherunpas-cher.fr/nike-huarache-light-og_115.html high-priced shoes. However the http://www.huaracherunpas-cher.fr/nike-huarache-2013_159.html the fact is http://www.huaracherunpas-cher.fr/air-huarache-solde_40.html in which http://www.huaracherunpas-cher.fr/chaussure-air-huarache_180.html Ed Environmentally friendly shoe firm features strived to help keep the cost of it is product or service reasonable. If you wish to if you buy one, you can get 1 with reduced price. First of all opt for a combine. You are going to think comprehensive and cozy after putting on some shoes out of this corporation.

Comment by scott154 3 weeks and 5 days ago

Your point of view

You must be signed in to comment.