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

Sort files by size

Terminal - Sort files by size
ls -l | sort -nk5
2009-03-20 12:28:34
User: lme
Functions: ls sort
5
Sort files by size

Alternatives

There are 2 alternatives - vote for the best!

Terminal - Alternatives
ls -l | sort +4n for ascending order or ls -l | sort +4nr for descending order
ls -lS

Know a better way?

If you can do better, submit your command here.

What others think

what about ls -lS ?

Comment by phako 447 weeks and 6 days ago

@phako:

Linux isn't Unix, so no need to vote it down.

ls -lS is not POSIX, so you can't use it on Solaris for example.

Comment by lme 447 weeks and 6 days ago

It might be worth putting a 'grep ^-' in there, to get just files, and ignore directories:

ls -l | grep ^- | sort -nk5
Comment by atoponce 447 weeks and 5 days ago

http://goo.gl/TLJKhQ http://bit.ly/2bgLGS7 jasa konstruksi bangunan

http://goo.gl/TLJKhQ http://bit.ly/2bgLGS7 jasa konstruksi baja wf

http://goo.gl/TLJKhQ http://bit.ly/2bgLGS7 jasa konsultan konstruksi

dd

Comment by umam12 52 weeks and 1 day ago

http://goo.gl/zhFEpe http://bit.ly/2bF0zgB Daftar Harga Besi Pipa Baja Schedule 40 Dari Distributor Pabrik

http://goo.gl/AfxmL4 http://bit.ly/2c5pYC8 Daftar Harga Besi Pipa Baja Schedule 80 Dari Distributor Pabrik

ddg

Comment by umam12 52 weeks and 1 day ago

http://bit.ly/1P41Awa https://goo.gl/L1t3uj undangan pernikahan undangan pernikahan unik dan murah

http://bit.ly/1P41Awa https://goo.gl/L1t3uj undangan pernikahan artis undangan pernikahan elegan dan murah

ds

Comment by umam12 52 weeks and 1 day 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 46 weeks and 3 days ago

http://goo.gl/fgh1ds http://bit.ly/1M92mpb

https://goo.gl/JdUZyB http://bit.ly/2fj747M

https://goo.gl/tN8zV8 http://bit.ly/2fxUzs5

https://goo.gl/ukAjdu http://bit.ly/2futS4Y

https://goo.gl/hLXjHy http://bit.ly/2ehbUW8

https://goo.gl/yDMlpq http://bit.ly/2fyvR8K

https://goo.gl/mfqLZU http://bit.ly/2fWa8tV

https://goo.gl/qWkW28 http://bit.ly/2fyAqjj

https://goo.gl/vnyuHb http://bit.ly/2fxOGv0

https://goo.gl/HuKYjz http://bit.ly/2fzHyua

https://goo.gl/wkPEKV http://bit.ly/2ehdd7L

https://goo.gl/Z0J6LF http://bit.ly/2eQlCLv

https://goo.gl/Aat085 http://bit.ly/2ehaXgv

https://goo.gl/74Ao5K http://bit.ly/2eyKRRI

https://goo.gl/LDVtJJ http://bit.ly/2fW5YT9

https://goo.gl/cK0YaF http://bit.ly/2eHDzhQ

https://goo.gl/KnGFuL http://bit.ly/2fzLcEC

http://goo.gl/0MIIQL http://bit.ly/1XHRm6d

http://goo.gl/TPidJv http://bit.ly/1ivQx0e

https://goo.gl/x9MnRB http://bit.ly/2fuxSmd

https://goo.gl/GonlNh http://bit.ly/2bgLGS7

https://goo.gl/XZ6zpY http://bit.ly/1P41Awa

https://goo.gl/8IVNQ9 http://bit.ly/2eMs6Km

https://goo.gl/M52XmL http://bit.ly/2eMs6Km

https://goo.gl/TrcRsU http://bit.ly/2fllKFP

https://goo.gl/8IVNQ9 http://bit.ly/2fllKFP

listrik dan panas, serta mempunyai titik cair tinggi. Bijih logam ditemukan dengan cara penambangan yang terdapat dalam keadaan murni atau bercampur dengan unsur-unsur seperti karbon, sulfur, fosfor, silikon, serta kotoran seperti tanah liat, pasir, dan tanah.

http://goo.gl/pWtlO9 http://bit.ly/2bz4aJD

http://goo.gl/f0vB7K http://bit.ly/2bO3W3i

http://goo.gl/uTL5Cu http://bit.ly/2bz1A6v

http://goo.gl/lJRzzt http://bit.ly/2bUsUjy

http://goo.gl/DdDqMr http://bit.ly/2blOnz1

http://goo.gl/zhFEpe http://bit.ly/2bF0zgB

http://goo.gl/AfxmL4 http://bit.ly/2c5pYC8

http://goo.gl/GPxl0D http://bit.ly/2bz25NV

http://goo.gl/1i7Obd http://bit.ly/2bz1JHl

http://goo.gl/neJ80l http://bit.ly/2beifS1

http://goo.gl/sHibPg http://bit.ly/2bfykUC

http://goo.gl/Mj9qNp http://bit.ly/2bh5XlK

http://goo.gl/o5s4FC http://bit.ly/2bM119U

http://goo.gl/3j2MZZ http://bit.ly/2bAvnQT

http://goo.gl/lHUCmg http://bit.ly/2bOcOpF

http://goo.gl/KlVYYP http://bit.ly/2bh7Uyz

http://goo.gl/cPzAze http://bit.ly/2bOez5Y

http://goo.gl/1tIqEu http://bit.ly/2bfzVd7

https://goo.gl/8IVNQ9 http://bit.ly/2eMs6Km

https://goo.gl/M52XmL http://bit.ly/2eMs6Km

https://goo.gl/TrcRsU http://bit.ly/2fllKFP

https://goo.gl/8IVNQ9 http://bit.ly/2fllKFP

https://goo.gl/ZZ66dD http://bit.ly/2eUXZAP

Comment by umam12 45 weeks ago

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

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

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

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

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

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

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

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

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

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

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

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/ Adidas Ultra Boost

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

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

http://www.yeezy-boost350.com/ Yeezy Boost 350

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

http://www.nike-store.us/ Nike Store

http://www.longchamp--bags.com/ Longchamp

http://www.adidas-shoes.us/ Adidas Shoes

http://www.nike-outletstore.com/ Nike outlet

http://www.adidas-online.us/ adidas outlet online

http://www.jordan--shoes.org/ Jordna Shoes

http://www.yeezy-boost350.com/ Yeezy 350

http://www.jamesshoes.org/ James Shoes

http://www.flipflops.us.com/ flip flops

http://www.air-max2017.com/ Air Max 2017

http://www.asicsgel.org/ Asics

http://www.rayban.com.co/ Ray Ban

http://www.ray-bans.in.net/ Ray Bans

http://www.oakleysunglassesoutlet.net/ oakley sunglasses

http://www.dressesforwomen.us dresses for women

http://www.cheapoakleysunglasses.biz oakley sunglasses

http://www.cheapraybansunglasses.biz ray ban sunglasses

http://www.oakleysunglassesstore.us oakley sunglasses

Comment by lovelin1987 11 weeks ago

Your point of view

You must be signed in to comment.