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.

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:



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!

Top Tags



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

pngcrush all .png files in the directory

Terminal - pngcrush all .png files in the directory
ls *.png | while read line; do pngcrush -brute $line compressed/$line; done
2012-07-17 20:20:49
User: waffleboi9
Functions: ls read
pngcrush all .png files in the directory

Nothing too magical here, just uses pngcrush to losslessly compress all your pngs!


There is 1 alternative - vote for the best!

Terminal - Alternatives
find . -iname '*png' -exec pngcrush -ow -brute {} {}.crush \;
2015-09-22 11:10:16
User: miniker84
Functions: find
Tags: GNU find

Find all pngs in directory structure and pngcrush them, none destructive. You can just remove the "{}.crush" part if you want destructive.

find -f . png | while read line; do pngcrush -ow -brute $line; done
2013-09-25 13:40:14
User: mildfuzz
Functions: find read

Find's all png's in the current folder and all of its children

pngcrushes all results.


Know a better way?

If you can do better, submit your command here.

What others think

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


Comment by umam12 12 weeks and 5 days 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


Comment by umam12 12 weeks and 5 days 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


Comment by umam12 12 weeks and 5 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 5 weeks and 4 days ago

Do you want to individual just one bag? I believe many of the responses will be certainly, the reason? Mainly because collection are extremely time-honored that some other selections cannot surpass yaplog miaui47 blog site . handbag is usually the top product in the heart of many ladies, between that collection, has the reasonable dimensions, total capacity in addition to portability, to ensure that it does not take excellent selection for our ex-girlfriends. Average dimension allow it to be necessary product in life, and due to its design, this yaplog miaiio web site is a superb item having hand-held, adorable yet functional dimension is certainly keen on many trendy women of all ages.Louis Vuitton bag was made with all the muted and stylish shade, that could impart us with an excellent impression to begin with eyesight, pure cowhide leather-based add ons are used because the components, curved leather manages are content for all of us to transport.Although yaplog miawoai blog appears to be not so big, it features a significant possessing capacity. No make any difference which usually facet relative it is, you are going to really like yaplog lymia blog site ; it is strength, valuable charges, level of popularity and also the sense of wholeness are typically competitive.Brownish color of bag means an original picture of LV handbags. Additional chatting, bag is a conventional form, bag is renowned for the conventional checkerboard structure, modest shape and also capacity.yaplog limia69 web site offers all 5 measurements, is among the most suited size for people, that has ended up being the representative of this particular range, actually that company.The Luis Vuitton bags are so wonderful that many ladies have a few of them. In this way they could combine these to distinct hues in their wardrobe. These http://www.hermesbeltsbirkinkellybag.co.uk/ people adore the direction they seem using garments. Some of them ask some others to supply these 1 these kinds of excellent bags since gift ideas in the past year. For just about any big day they create superb offers and in addition they love to receive all of them. Having numerous is obviously the actual coveted by of any females good friends. They are going to would like to use these people should they can certainly as they will want to you can keep them, as well. And so make certain you have several of your personal so that you will always have one which you'll need readily available. There are pre-owned Classy Capucines Bag that you could uncover also. You may have to take a look at used stores or in your newspaper to seek out pre-owned bags nonetheless it will probably be worth it. You'll save a ton of money when you get pre-owned bags because they is a small percentage of the cost of a fresh just one. Vid great way to put in your components with your clothing collection, consequently often be keeping an eye out for just about any other type associated with pre-owned accessories that you could enhance the one you have. It could possibly make this sort of difference in how much you can make use of your appearance simply by being fashionable or straight down any kind of outfit you will probably have. Be sure you store them in a risk-free spot when you're not necessarily with these, as well.Click here to understand much more aboutLouis Vuitton Classy Capucines Bag

Comment by stephanieg915 1 hour ago

Your point of view

You must be signed in to comment.