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

Recursive chmod all *.sh files within the current directory

Terminal - Recursive chmod all *.sh files within the current directory
find ./ -name "*.sh" -exec chmod +x {} \;
2013-02-25 17:14:55
User: Renato
Functions: chmod find
0
Recursive chmod all *.sh files within the current directory

This command is useful to recursively make executable all "*.sh" files in a folder.

This command is useful to apply chmod recursively in a determined kind of file.

Alternatives

There are 10 alternatives - vote for the best!

Terminal - Alternatives
chmod u+x **/*.sh
2013-03-22 00:55:13
User: khayyam
Functions: chmod
Tags: chmod zsh
1

example of using zsh extended globbing

Know a better way?

If you can do better, submit your command here.

What others think

http://cincinnatibengals.jerseyscheap.us.com

http://www.michaelkorshandbagssale.in.net

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

http://www.cheapmichaelkorshandbags.us.org

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

http://www.suprashoes.eu.com

http://www.truereligionjeanssale.us.com

http://chicagobulls.jerseyscheap.us.com

http://www.christian-louboutinoutlet.us

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

http://www.handbagsmichaelkors.us.org

http://www.tomsshoes.eu.com

http://www.fitflopssale-clearance.us.com

http://www.nikefree5.us.com

http://clippers.jerseyscheap.us.com

http://www.adidasnmdr1.us.com

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

http://www.louisvuitton-sacpascher.fr

http://denverbroncos.jerseyscheap.us.com

http://thunder.jerseyscheap.us.com

http://www.nikeblazerlow.fr

http://www.michaelkorsoutlethandbags.us.org

http://www.michaelkorshandbags-outletonline.us.com

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

http://www.fitflopssaleclearance.org

http://www.reebokoutlets.in.net

http://www.basketballshoes.us.org

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

http://dallascowboys.jerseyscheap.us.com

http://www.oakleysunglasses.nom.co

http://www.oakley.de.com

http://www.nike-tnpascher.fr

http://www.edhardyuk.me.uk

http://www.dolceandgabbana.in.net

http://www.nikeoutletstore.us.org

http://www.nikerosherunshoes.me.uk

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

http://www.jimmy-choo.in.net

http://celtics.jerseyscheap.us.com

http://www.kobe9elite.us

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

http://www.cheapmichael-korshandbags.us.com

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

http://chargers.jerseyscheap.us.com

http://www.rayban-sunglassescheap.us.com

http://warriors.jerseyscheap.us.com

http://www.birken-stocksandals.com

http://www.ralphlaurenoutlet.com.co

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

http://www.cheap-michaelkorshandbags.us.org

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

http://neworleanssaints.jerseyscheap.us.com

http://www.instyler-max.in.net

http://www.ghd-flatiron.com

http://www.niketrainersuk.com.co

http://www.michaelkorsoutletstore.us.org

http://www.nikehuarache.org.uk

http://www.oakleysunglassescheap.us.org

http://www.edhardyoutlet.name

http://indianapoliscolts.jerseyscheap.us.com

http://www.gucciborse2016.it

http://philadelphiaeagles.jerseyscheap.us.com

http://arizonacardinals.jerseyscheap.us.com

http://newyorkjets.jerseyscheap.us.com

http://www.chaussurelouboutinpas-cher.fr

http://www.skechers-outlet.us

http://www.tiffanyandco-outlet.us

http://www.jordanshoes.eu.com

http://miamiheat.jerseyscheap.us.com

http://www.versace-shoes.in.net

http://chicagobears.jerseyscheap.us.com

http://miamidolphins.jerseyscheap.us.com

http://clevelandbrowns.jerseyscheap.us.com

http://www.michaelkorshandbagswholesale.in.net

http://oaklandraiders.jerseyscheap.us.com

http://www.hugobosssale.name

http://www.pandora-jewelryoutlet.name

http://kansascitychiefs.jerseyscheap.us.com

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

http://www.michaelkorshandbagscheap.in.net

http://www.asics-runningshoes.in.net

http://www.michaelkorsuk.org.uk

http://www.ferragamo-shoes.cc

http://www.underarmouroutlet.cc

http://atlantafalcons.jerseyscheap.us.com

http://www.eccoshoesoutlet.us

http://jaguars.jerseyscheap.us.com

http://buffalobills.jerseyscheap.us.com

http://tennesseetitans.jerseyscheap.us.com

http://greenbaypackers.jerseyscheap.us.com

http://www.the-northface.co.uk

http://www.cheapnbajerseys.us.com

http://newyorkgiants.jerseyscheap.us.com

http://pittsburghsteelers.jerseyscheap.us.com

http://sanfrancisco49ers.jerseyscheap.us.com

http://carolinapanthers.jerseyscheap.us.com

http://www.cheap-nikeshoes.org

http://lakers.jerseyscheap.us.com

http://www.poloralph-lauren.com.co

http://baltimoreravens.jerseyscheap.us.com

http://www.nikeairhuarache.com.co

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

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

http://www.outletmichaelkors.us.org

http://houstontexans.jerseyscheap.us.com

http://www.michaelkorshandbagswholesale.us.com

http://newenglandpatriots.jerseyscheap.us.com

http://www.handbagsmichaelkors.us.com

http://minnesotavikings.jerseyscheap.us.com

http://www.yeezyboost-350.us.org

http://www.omega-watches.name

http://www.michaelkorshandbagswholesale.us.org

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

http://www.michaelkorshandbagssale.us.com

http://cavaliers.jerseyscheap.us.com

http://www.pandoracharms.me.uk

http://www.abercrombieandfitchkids.us.com

http://www.nikeblazerpascher.fr

http://www.saclongchampfr.fr

http://seattleseahawks.jerseyscheap.us.com

http://www.nikestoreuk.com.co

http://www.airforce1.us.org

http://www.michaelkorshandbags.uk

http://www.airjordanuk.org.uk

http://www.moncleroutletstore.us.org

http://www.handbagsmichaelkors.in.net

http://newyorkknicks.jerseyscheap.us.com

http://www.nike-trainers.com.co

http://www.rolexreplica-watches.com.co

http://www.michaelkorsoutlethandbags.in.net

http://sanantoniospurs.jerseyscheap.us.com

http://www.lebron-jamesshoes.net

http://www.new-balanceshoes.in.net

http://www.armaniexchangeoutlet.us

http://www.conversetrainer.org.uk

http://www.redvalentino.in.net

http://washingtonredskins.jerseyscheap.us.com

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

http://www.nmdadidas.us.org

http://detroitlions.jerseyscheap.us.com

http://www.airmax90.eu.com

http://www.montblancpensoutlet.name

http://www.longchamps.us

Comment by xxxxxxxxxxx123 6 weeks and 5 days ago

As for men, searching for presents is a real hard problem for these, since they really should be very well polite concerning the likes from the shower radios in addition to the most current fashion craze. There is also true of Connector, who wants to get a shoulder bag with regard to his or her daughter Nancy because your ex gift. In order to making upwards their minds, he's got looked a lot connected information about the actual bag shopping on the net. Eventually, he or she came across any black natural leather neck bagand created his / her conclusion.The first basis for the options are it is usually belief that leather is a form of classy and sophisticated material, which can be throughout ideal line together with Nancys preferred. In addition to, buckskin isn't only sturdy, but additionally ideal for people of the ages. Your dark-colored buckskin glenohumeral joint bag features a great sturdy band permitting people http://www.hermesbeltsbirkinkellybag.co.uk/ to pass on pounds over the back, making sure that consumers are able to have a very wide range of private products together without feel fatigued.In simple fact, it's not easy for those people to go with a appropriate shoulder bagas there are so many variables that needs to be looked at. Website component medicine colour, that ought to flawlessly complement diverse years. Furthermore, in picking shades, it is additionally essential fro you to think about the common equipment that you could don in your everyday living. As an example, your black colored is a elegant nevertheless nice shade which can be appropriate for any age ranges. Then it involves the fabric from the glenohumeral joint bags. There are a variety involving materials, including the leather-based, suede, natural cotton and materials. List of positive actions is always to consider the general kind of oneself or perhaps your equipment into account. Finally, the size of the bag is evenly important. You shouldn't have that you should choose the bags along with too large dimensions even if you wish to hold additional goods. In that case, you may experience uneasy as there is too much bodyweight. You need to simply think about the many items that you need to carry often in your daily life.

Comment by stephanieg915 1 day ago

Bags provide multi-dimensional employs and resources. Not long ago his or her change to some manner ensemble has made it a lot more fundamental for all our clothes. Bags not merely require peace of mind in hauling your components of value or maybe regular utilize it in addition accessorizes each of our search. Earlier bag was implemented to be a universal phrase with regard to explaining a necessary merchandise as well as container individuals stuffs. Though the actual advancement in its style, this tradition individuals traditional bag packs have modified to the much better. Whether it is to carry your important items or maybe laptop computers, bags are essential addendums to the daily styling. Just one more belief about the application of bags has been that they were more vital add-on for feminine wardrobe. The idea of bags staying strongly related women of all ages fashion can be productively withered with all the being most current types verifying a lot more on the reasoning behind unisex manner. Currently we have seen bags becoming created keeping in mind the fashion and comfort dependence on adult males too. For instance, a laptop bags are created not just in make certain safety to be able to netbooks luxurious to us but additionally within coherence to the newest developments in vogue and magnificence. There a variety of available options from which you will get your self in which best bag almost all within communication to the most current movements of fashion luxurious. You can either select a number of bag shop or maybe web shop to pick of which great back-pack yourself. For anyone who is moving into metropolitan areas just like Bangalore, entertain options available to obtain notebook bags throughout Bangalore. You can even work out to purchase bags on the net with Bangalore. There are couple of necessary pre-requisites that need interest before you place the transaction to obtain bags on the web within Bangalore. First of all you should decide the intention of your bag you wish to purchase. If you want to acquire notebook computers bags within Bangalore you could make your choice in the many options available within reside retail store an internet-based merchants. You can also get bags on-line within Bangalore for your take a trip purpose or satisfy your prerequisite as a pure back-pack. The introduction of web helped us all in numerous ways. Essentially the most new additions to this specific massive listing of world wide web power is it possesses productively produced fashion keep for the press of your kids finger. It's simple to get notebook computer bags in Bangalore with a mere click on of your finger. With the arrival on the http://www.hermesbeltsbirkinkellybag.co.uk/ online places you should buy bags online within Bangalore and also satisfy your current dependence on an elegant but comfy back-pack.

Comment by stephanieg915 1 day ago

Your point of view

You must be signed in to comment.