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

Download all music files off of a website using wget

Terminal - Download all music files off of a website using wget
wget -r -l1 -H -nd -A mp3 -e robots=off http://example/url
2013-07-13 02:00:23
User: trizko
Functions: wget
Download all music files off of a website using wget

This will download all files of the type specified after "-A" from a website. Here is a breakdown of the options:

-r turns on recursion and downloads all links on page

-l1 goes only one level of links into the page(this is really important when using -r)

-H spans domains meaning it will download links to sites that don't have the same domain

-nd means put all the downloads in the current directory instead of making all the directories in the path

-A mp3 filters to only download links that are mp3s(this can be a comma separated list of different file formats to search for multiple types)

-e robots=off just means to ignore the robots.txt file which stops programs like wget from crashing the site... sorry http://example/url lol..


There are 3 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

"MICHAEL KORS can be retail's greatest improvement tale, which has a modern day spot sales probability stretching out more than numerous groupings as well as cpa networks, as well as encountered supervision collection, in our view,Inches Greenberger generated in a very notice to capitalists.After that you are distinct that this internet web page is undoubtedly an true one particular, a person maybe could purchase Site khaki hamilton huge company logo layout signature bag. The web site definitely will move the solutions complimentary once the needed pricing is manufactured. You may certainly get things rapidly. Some scenarios, you can also attain reduced expense on a fortunate evening. Following the Handbags Store Website reaches your own home, you may need to hold people because units with the wonderful and chic garments. An individual ensure being delivered in your mind constantly.His driveway libraries, the particular KORS range plus the MICHAEL series are the 3 main premiums he or she provides, with the KORS collection is the middle of the rate line as well as the Eileen collection mostly making females's bags, footwear together with ready-to-wear distinctive line of apparel.Michael Kors Electrical outlet bags may very well be identified available like Saks 6th Prospect, Bergdorf Goodman, Macy's and other high-end electrical socket retail store. His or her handbags are categorized as this deluxe accent class and are also realize for easy along with clever glimpse.In your Ough.Ersus., sales tax is really a large number additionally much more underhanded. No make an appearance until eventually you are waiting for the look at only when it's basically combined with the acquisition price.In '81, Kors offered his / her preliminary Internet site girls collection * the product seemed to be remarkably preferred in addition to served to place their tag on the plan as a dependable upcoming designer. In 1997 became of ended up being your Inventive Supervisor in the French style residence Celine and then throughout 2003 Kors chose to go it alone along with his fairly own manufacturer name. Currently your selection which usually manufactured advantages of clothes along with add-ons containing usually takes pleasure was remarkably well-liked and also favored due to the processed, superior but relaxed along with very wearable splendor.Furthermore, an ingenious hat may be the downright must-have good friend of any voguish lady such as for occasion Victoria Beckham on the internet. Today, head bits are not just necessary apparel portions for females to use and guard the brains along with tresses coming from extreme chilly, but they also have truly grown to be upper-class add-ons, that may swiftly help out with type of appear as well as aid a person differ inside workforce. Their own importance improves specially in the winter months months, should there be continuously excellent skiing conditions and unpleasant weather condition. Developers within the coming tidy time of year offer a variety of kinds as well as resources, among which every girl may put particularly precisely what is most effective in order to your ex style.The twelve months The year 2012 guarantees as a fantastic 12 months with regard to Low-cost Bags. You could possibly find his / her stores found in the Landscapes Mall within upper area, about Truly worth Chance at your fingertips Beach front and in This Boca Area Core Mall with south region. Various from the items and equipment coming from his or her lines can easily also be investigated http://www.hermesbeltsbirkinkellybag.co.uk/ outside in Macy's, Bloomingdale's and diverse additional excellent wall plug store.

Comment by stephanieg915 10 hours ago

Your point of view

You must be signed in to comment.