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 a JSON blob

Terminal - sort a JSON blob
cat foo.json | python -mjson.tool
2013-05-06 20:11:05
User: jeffgage
Functions: cat python
1
sort a JSON blob

For situations where you keep JSON in a VCS and you want your diffs to be sane, such as within a Chef configuration repo.

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

http://www.vansshoes.us.org

http://www.nikeblazers.in.net

http://www.outletpolo-ralphlauren.us.com

http://www.coachsfactoryoutlet.us.com

http://www.guccishoes.net.co

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

http://www.mlbjerseyswholesale.us.com

http://www.pumashoes.us.com

http://www.nikeoutlet-online.com

http://www.rayban.org.uk

http://www.christianlouboutinoff.us

http://www.adidas-ultraboost.com

http://www.uggbootsclearances.com.co

http://www.redbottoms.me.uk

http://www.northfacerainjacket.us.com

http://www.nikeairmax2016.in.net

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

http://www.outletmichaelkorsshop.us.com

http://www.manoloblahnik.us

http://www.mcm.us.org

http://www.christianlouboutin.me.uk

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

http://www.cheapraybansunglasses.net.co

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

http://www.coachfactoryoutletonlineofficial.us.com

http://www.yslhandbags.us

http://www.hermeshandbags.us.com

http://www.coachfactoryoutletonlinesale.us.com

http://www.christianlouboutinoutletusa.us.com

http://www.outletcoachs.us.com

http://www.nikesoccershoes.us.com

http://www.toryburchoutlet.net.co

http://www.ferragamooutlet.us.com

http://www.cheapjordansshoes.us.com

http://www.pradaoutletonline.us.com

http://www.michaelkorsonlineoutlet.us.org

http://www.michaelkorsbags.in.net

http://www.cheapoakleysunglasses.net.co

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

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

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

http://www.christianlouboutin-paris.fr

http://www.adidasyeezy350.us.com

http://www.truereligionsale.com.co

http://www.raybansunglasses.me.uk

http://www.nikefootballboots.org.uk

http://www.michaelkorsoutletonline.us.org

http://www.outletmcm.us

http://www.raybansunglassesoutlet.net.co

http://www.polooutlet.net.co

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

http://www.calvinklein.co.com

http://www.nikeoutletfactorystore.us.com

http://www.michaelkorsuk.com.co

http://www.montblancpenofficial.us.com

http://www.ralphlauren.eu.com

http://www.levisjeans.us.com

http://www.oakleysunglasses-outlet.us.org

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

http://www.poloralphlaurenonlineoutlet.us.com

http://www.michaelkorsbagsuk.co.uk

http://www.birkenstock.us.org

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

http://www.burberryhandbags.in.net

http://www.lebron13shoes.com

http://www.nikestore.me.uk

http://www.nikeairmax2017.org

http://www.outletadidas.us.com

http://www.airmaxuk.uk

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

http://www.oakleyssunglasses.com.co

http://www.louboutinparis.fr

http://www.nikeroshe.org.uk

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

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

http://www.pandorajewelryuk.me.uk

http://www.nikesb.us

http://www.ralphlaurenpolo.in.net

http://www.nikecortez.org

http://www.jordans.in.net

http://www.adidasoriginalsshoes.in.net

http://www.converseshoesoutlet.us.com

http://www.louisvuittonoutlettrade.us.com

http://www.officialcoachoutletonline.us.com

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

http://www.burberryhandbagsoutlet.in.net

http://www.michaelkorsoutletsale.us.org

http://www.cheapnhljersey.us.com

http://www.michaelkorshandbagsuk.uk

http://www.coachfacyoryoutletonlinee.us.com

http://www.stansmith.us.com

http://www.adidassuperstar.name

http://www.louboutinoutlets.us.com

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

http://www.ralphlaurenuk.uk

http://www.mizunorunningshoes.us.com

http://www.sunglassesoakley.com.co

http://www.oakleysunglassescanada.ca

http://www.thenorthface.net.co

2017.5.5xukaimin

Comment by xukaimin 31 weeks and 3 days ago

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

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

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

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

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

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

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

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 Shoes

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

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

http://www.nike-stores.fr/ Nike Pas Cher

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

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

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

http://www.nikeairmax.us/ Nike 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

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

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

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

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

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

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-store.us Nike Store

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

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

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

http://www.adidas-online.us Adidas Outlet

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

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

http://www.jamesshoes.org Jmaes Shoes

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

http://www.air-max2017.com Nike 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 Cheap Oakley

http://www.cheapraybansunglasses.biz Cheap Ray Ban

http://www.oakleysunglassesstore.us Oakley Sunglasses

Comment by lovelin1987 19 weeks ago

Your point of view

You must be signed in to comment.