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

Download an entire website

Terminal - Download an entire website
wget --random-wait -r -p -e robots=off -U mozilla http://www.example.com
2009-02-17 22:53:07
User: starchox
Functions: wget
175
Download an entire website

-p parameter tells wget to include all files, including images.

-e robots=off you don't want wget to obey by the robots.txt file

-U mozilla as your browsers identity.

--random-wait to let wget chose a random number of seconds to wait, avoid get into black list.

Other Useful wget Parameters:

--limit-rate=20k limits the rate at which it downloads files.

-b continues wget after logging out.

-o $HOME/wget_log.txt logs the output

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

I think some builds of wget have the -m (mirror) option available as well.

Comment by joem86 412 weeks and 5 days ago

The given command does not download an entire web site. It downloads a single page, plus any images and such on that page.

For this functionality, the '-r' is not necessary, and the random wait generally isn't either.

Comment by ToyKeeper 393 weeks and 2 days ago

Ignore previous comment. Apparently the default recursion depth is now 5, which is often enough to download entire sites. However, if you want to be sure, add a '-l 0' to remove the recursion depth limit.

Comment by ToyKeeper 393 weeks and 2 days ago

From the man page, useful for offline browsing:

-k

--convert-links

After the download is complete, convert the links in the document to make them suitable for local viewing. This affects not only the visible hyperlinks, but any part of the document that links to external content,

such as embedded images, links to style sheets, hyperlinks to non-HTML content, etc.

Comment by piccobello 286 weeks and 6 days ago

-p is not necessary if you're using -r

-K will keep copies of original files before modifying links with -k

-N for timestamps: useful for refreshing a mirror, only downloading new stuff

Comment by johnraff 269 weeks and 5 days ago

http://www.longchamp-solde.fr

http://www.sac-louisvuittonpascher.fr

http://www.swarovski.in.net

http://www.truereligionjeansoutlet.com

http://www.tomsoutlet-stores.com

http://www.timberlandboots.me.uk

http://www.christianlouboutinuk.org.uk

http://www.michaelkorsusa.us

http://www.saclongchamp-pliage.fr

http://www.jordanshoes.us.com

http://www.airforce1.us.com

http://www.longchampoutlet.name

http://www.rolexwatches.in.net

http://www.nikeairmax90.me.uk

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

http://www.coachoutletcanada.com.co

http://www.christianlouboutinoutlet.me.uk

http://www.truereligionoutlet-store.us.com

http://www.nikerosherunwomen.co.uk

http://www.nike-mercurial.net

http://www.hermesbirkin.org

http://www.michaelkorsoutletonlinstore.us.com

http://www.hermesbelts.us

http://www.nikeairmax90.org.uk

http://www.fitflop.in.net

http://www.michaelkorsoutletonline.in.net

http://www.mcm.in.net

http://www.michaelkorsoutlets.org.uk

http://www.lacostepoloshirts.cc

http://www.truereligionjeanscanada.com

http://www.thomassabos.co.uk

http://www.coachoutletstore.com.co

http://www.ralphlaurenoutlet.in.net

http://www.louisvuittonus.us.com

http://www.truereligionjeansoutlets.us.com

http://www.louisvuitton.in.net

http://www.coachoutletstores.com.co

http://www.cheapmichaelkorshandbag.in.net

http://www.cheapnfljerseys.org

http://www.outletswarovski.co.uk

http://www.toms.us.com

http://www.louboutinpas-cher.fr

http://www.swarovskicrystal.me.uk

http://www.hermesoutletstore.us.com

http://www.kobebryantshoes.in.net

http://www.louisvuittonoutletstore.name

http://www.cheapmlbjerseys.us.com

http://www.nike-airhuarache.co.uk

http://www.truereligion-jean.us.com

http://www.iphone-cases.name

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

http://www.pandorajewelryoutlet.us.com

http://www.tiffanyjewellery-outlet.co.uk

http://www.burberryonlineoutlet.in.net

http://www.reeboktrainers.org.uk

http://www.christianlouboutinonline.us.com

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

http://www.nikeairmax90.co.uk

http://www.pandora.eu.com

http://www.mont-blancpens.com.co

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

http://www.raybansunglassesonline.us.com

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

http://www.louisvuittonhandbagsoutlet.co.uk

http://www.michaelkorsfactoryoutlets.in.net

http://www.michaelkorsoutlet-store.us.com

http://www.poloralphlaurenshirts.us.com

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

http://www.michaelkorshandbagsale.us.com

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

http://www.rolexwatches-uk.co.uk

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

http://www.michaelkorsclearance.in.net

http://www.cheapmlbjerseys.net

http://www.air-jordanshoes.us.com

http://michaelkors.outletonlinestores.us.com

http://www.adidasoutletstore.in.net

http://www.ralphlauren-pascher.fr

http://www.discountmichaelkorshandbags.in.net

http://www.juicycoutureoutlet.net

http://www.louisvuittonoutlet.in.net

http://www.cheapsoccerjersey.net

http://mulberryoutlet.outlet-store.co.uk

http://michaelkors.outletstoreonline.us.com

http://www.lebronjamesshoes.in.net

http://www.beats-headphones.in.net

http://www.michaelkorshandbagsoutletstore.us.com

http://www.niketnpas-cher.fr

http://www.michaelkorssale.in.net

http://www.swarovskicrystal.us.com

http://www.nikeairmaxshoess.co.uk

http://www.timberlandboots.name

http://www.basketballshoes.us.com

http://www.soccerjerseys.us.com

http://www.adidas-wings.in.net

http://www.pradaoutlet.us

http://www.michaelkorsoutletonlinestores.us.com

http://www.lebronjames.us.com

http://www.michaelkorsfactoryoutlet.us.org

http://www.futbol-baratas.com

http://www.nikeairhuarache.org.uk

http://www.michaelkorshandbagsclearances.us.com

http://www.hermesbags.co.uk

http://www.raybansun-glasses.in.net

http://www.linksoflondons.co.uk

http://www.michaelkorsoutletclearance.us.com

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

http://www.michaelkorswallet.net

http://www.airmax2015.in.net

http://www.chaussurelouboutin.fr

http://www.longchamppas-cher.fr

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

http://www.pololacostepascher.fr

http://www.nikeblazerpas-cher.fr

http://www.kobeshoes.us

http://www.pradahandbagsoutlet.co.uk

http://www.asicsisrael.com

http://www.michaelkorsoutletcanada.in.net

http://www.birkenstock.us.com

http://www.michaelkorswholesale.us.com

http://www.ralphlaurenpolo.it

http://www.outletmulberry.co.uk

http://www.raybansunglass.com.au

http://www.longchamppliage.fr

http://www.michaelkorsoutlet.org.uk

http://www.pradashoes.us

http://www.michaelkorshandbags.in.net

http://www.mbtshoesoutlet.us.com

http://www.louisvuittonbag.us.com

http://www.raybansunglass.us.com

http://www.beatsbydrdre-headphones.us.com

http://www.calvinklein.in.net

http://www.michaelkorsbags.uk

http://www.adidastrainers.me.uk

http://www.cheapfootballshirt.org.uk

http://www.nikeairforce1.fr

http://www.jordan-pascher.fr

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

http://www.herveleger.us.com

http://www.reebokoutletstore.us.com

http://www.michaelkorsoutletusa.net

http://www.louisvuittonhandbag.us

http://www.longchamphandbag.us.com

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

http://www.michaelkorsonlinesale.us.com

http://www.louisvuittonhandbags.org.uk

20160323caihuali

Comment by xiaozhengm 42 weeks and 6 days ago

It's great, I have learned many useful things, to apply to my blog. You just like me!

https://plus.google.com/u/0/107023740377478224643/posts

https://twitter.com/baixarmusicas8

https://baixarmusicas8.wordpress.com/

https://sites.google.com/site/baixarmusicasgratis8/

http://baixarmusicas8.blogspot.com/

https://www.pinterest.com/baixarmusicas8/

https://www.flickr.com/photos/baixarmusicas8

http://imgfave.com/baixarmusicas8

http://baixarmusicas.deviantart.com/

http://baixarmusicas09.weebly.com/

https://myspace.com/baixar.musicas

http://baixarmusicas08.mywapblog.com/

https://www.diigo.com/user/baixarmusicas08

https://storify.com/baixarmusicas

http://hangngothi123.wixsite.com/baixarmusicas

http://baixarmusicas.over-blog.com/

http://www.scoop.it/u/baixar-musicas-1

http://baixarmusicas08.blog.fc2.com/

https://www.reddit.com/user/baixarmusicas/

http://baixarmusicas08.blogolink.com/

https://imgur.com/user/baixarmusicas08

http://www.slideshare.net/baixarmusicas08

http://baixarmusicas08.pixnet.net/blog

http://baixarmusicas08.kinja.com/

http://www.purevolume.com/baixarmusicas

http://weheartit.com/baixarmusicas

http://baixarmusicas08.yolasite.com/

http://www.baixarmusicas08.estranky.cz/

Comment by hoami 21 weeks and 6 days ago

It's great, I have learned many useful things, to apply to my blog. You just like me!

https://plus.google.com/u/0/114255537570764200580/posts

https://twitter.com/baixarsnapchat

https://baixarsnapchat.wordpress.com/

https://sites.google.com/site/baixarsnapchat8/

http://baixarsnapchat08.blogspot.com/

https://www.pinterest.com/baixarsnapchat/

https://www.flickr.com/photos/baixarsnapchat/

http://imgfave.com/baixarsnapchat08

http://baixarsnapchat.deviantart.com/

http://baixarsnapchat.weebly.com/

https://myspace.com/baixarsnapchat

http://baixarsnapchat.mywapblog.com/

https://www.diigo.com/user/baixarsnapchat

https://storify.com/baixarsnapchat

http://hangngothi124.wixsite.com/baixarsnapchat

http://baixarsnapchat.over-blog.com/

http://www.scoop.it/u/baixar-snapchat

http://baixarsnapchat.blog.fc2.com/

https://www.reddit.com/user/baixarsnapchat/

http://baixarsnapchat.blogolink.com/

http://imgur.com/user/baixarsnapchat

http://www.slideshare.net/baixarsnapchat

http://baixarsnapchat.pixnet.net/blog

https://kinja.com/baixarsnapchat

http://www.purevolume.com/baixarsnapchat

http://weheartit.com/baixarsnapchat

http://snapchat08.yolasite.com/

http://www.baixarsnapchat.estranky.cz

Comment by hoami 21 weeks and 6 days ago

http://www.ultraboostuncaged.us/ Ultra Boost Uncaged

http://www.outlettoms.us/ Toms Outlet

http://www.cheap--jordanshoes.us.com/ Jordan Shoes

http://www.rayban-outlets.com/ Ray Ban Outlet

http://www.oakley-outlet.org/ Oakley Outlet

http://www.longchampoutletstore.org/ Longchamp Outlet Store

http://www.yeezy.com.co/ Yeezy

http://www.kedsshoesforwomen.com/ Keds Shoes For Women

http://www.nikeoutlet.org.uk/ Nike UK

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

http://www.nikehuarache.us/ Nike Huarache

http://www.adidasnmd.us.com/ Adidas NMD Women

http://www.nikeoutletfactorystore.com/ Nike Factory Outlet

http://www.nikeflyknit.org/ Nike Flyknit

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

http://www.outletrayban.us/ Ray Ban Outlet

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

http://www.ray-banoutlet.net/ Ray Bans Outlet

http://www.yeezyboost350.us.com/ Adidas Yeezy

http://www.ray-banoutlet.site/ Ray Ban Outlet Online

http://www.ralphlaurenoutletstoreonline.org/ Ralph Lauren Outlet Online

http://www.air-max2015.org/ Nike Air Max 2015

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

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

http://www.nikeoutletsstore.com/ Nike Outlet Store

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

http://www.nikerosherun.us.com/ Roshe Run

http://www.nikeairmax.us/ Air Max

http://www.airmax2016.us.com/ Air Max 2016

http://www.timberland-boots.me.uk/ Timberland UK

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

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

http://www.poloralphlaurenoutlets.us.com/ Polo Ralph Lauren Outlet

Comment by rboutlet1 18 weeks and 1 day ago

http://www.oakley-sunglasses.net.co

http://www.gucci.me.uk

http://www.nfljerseyswholesales.us

http://www.coachfactoryoutlet-online.us.org

http://www.mbt.us.com

http://www.minnesotavikingsjerseys.us.com

http://www.christianlouboutin.name

http://www.losangelesclippersjerseys.com

http://www.cheapuggoutlet.us.com

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

http://www.louisvuittonstores.us.com

http://www.uggbootscanada.ca

http://www.newyorkknicksjerseys.us.com

http://www.outletmichaelkorshandbags.us.com

http://www.monclerpascherhomme.fr

http://www.oakleysunglassesoutletwholesale.us.com

http://www.todsoutlet.in.net

http://www.vansshoes.name

http://www.canadagooseoutlet.nom.co

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

http://www.poloralphlauren.nom.co

http://www.hogan-scarpe.it

http://www.kevindurantshoes.name

http://www.ugg.com.co

http://www.nikeoutletstore.us.com

http://www.jordan4.net

http://www.uggsuk.me.uk

http://www.raybanoutlet.net.co

http://www.louisvuitton-outlet.ca

http://www.celine-outlet.us

http://www.louisvuittonoutletmalls.us.com

http://www.louisvuittonoutletstores.us

http://www.pittsburghsteelersjerseys.us.com

http://www.uggs-pascher.fr

http://www.abercrombiefitchoutlet.com.co

http://www.louis-vuittonoutlet.us.com

http://www.canadagoosecanada.us.org

http://www.nhljerseys.org

http://www.cheapuggboots.gr.com

http://www.gucci-outlet.org

http://oakley.sunglassesonline.us.com

http://www.curry3.name

http://www.airmaxssale.com

http://www.cheapoakleysunglasses.net.co

http://www.montblancpenofficial.us.com

http://www.nike-airmaxpascher.fr

http://www.pandorajewelry.in.net

http://www.raybanssunglasses.com.co

http://www.louisvuitton-handbags.com.co

http://www.outletuggsboots.us.com

http://www.coachoutletofficial.us.com

http://www.rayban-sunglasses.com.co

http://www.michaelkorsoutletsale.us.org

http://www.raybanpascher.fr

http://www.fitflopsuk.me.uk

http://www.retrojordans.name

http://www.oakleysunglasses-outlet.com.co

http://www.abercrombieandfitchoutlet.in.net

http://www.burberryoutlet-online.net.co

http://www.pradaoutlet.net.co

http://www.adidasshoesoutlet.us.com

http://www.niketn-pascher.fr

http://www.replicawatches.name

http://www.christianlouboutinoff.us

http://www.louis-vuitton.me.uk

http://www.uggclassic.in.net

http://www.katespade.us.org

http://www.mlbjerseys.org

http://www.toms.us.org

http://www.louis-vuittonoutlets.us.org

http://www.coachoutletonlinesale.eu.com

http://www.louisvuitton.me

http://www.jordans.in.net

http://www.ralphlaurenpolooutlet.cc

http://www.seattleseahawksjerseys.us.com

http://www.ugg-boots.fr

http://www.coachoutletstoreonlinesale.us.com

http://www.uggscheapboots.us.com

http://www.christianlouboutinsale.me.uk

http://www.louisvuittonlvoutlet.us.com

http://www.fitflops.org

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

http://www.polooutlet-online.us.com

http://www.louis--vuittonhandbags.us.com

http://www.ugg-canada.ca

http://www.gucci-inc.com

http://www.tomsuk.org.uk

http://www.fitflops.us.com

http://www.michaelkorsoutletstores.us.org

http://www.ralphlaurenoutletonline.in.net

http://www.timberlandboots.net.co

http://www.louisvuittonoutletonlineshop.com

http://www.tiffanyandco.nom.co

http://www.outletslouisvuitton.us.com

http://www.rolexwatchesforsale.name

http://www.nikefactoryoutlet.org

http://www.monclerjacketsuk.me.uk

http://www.gooseoutlet.us.com

http://www.canadagoosejacketsoutlet.us.org

http://www.hilfigeroutlet.in.net

chenyingying20170104

Comment by chenyingying 1 week and 6 days ago

Most would love to exaggerate and also point out, by purchasing an iPhone A few with your palm the planet improvements! Very well, we will want to retain things basic and declare that the really an individual that alter, which usually go ahead and is definitely natural thinking about the Mobile phone you've plastic box for yourself. So what are the modifications? You'll see your self gazing at your Smartphone too often than ever before along with obliterate the least soil that appear for you to tumble with the screen. Anyone continuously pay attention to chafes for the mobile back again along with very carefully maintain your own Touch screen phone so that it won't go away you. In case you covertly confess to the these , it's period that you should permission received pertaining to apple iphone 5 situations.Where to buy?With internet shopping choosing a massive hop today it's easier to invest in iPhone 5 circumstances on the net. Should you have currently searched on-line before this you'll know in the benefits of quick exploring, price comparison,uncomplicated settlement and replacement methods. On the other hand, to the people who have not really experimented with shopping on the web still, getting your current Smartphone handle on the internet is gonna be a fantastic encounter. Considering the number of real shopping on the web sites that are located nowadays buying online is not difficult as well as the many viable choice.Utilities regarding Artist iphone 3gs Cell phone CoversA quick look at the attractive designer selection of apple iphone handles and also you will be surely thankful for your prospect, conclude and style habits. Designers have never solely consumed creativity from your modern day customers choice for style in addition to glamour, but also of all the time words which usually goes ignored. Artwork patterns exhibiting check out board prints, conventional art work, resourceful Three dimensional art pieces along with auto race types usually are displayed with radiant colours and are also valued reasonably. With focus on moment specifics iPhone 5 covers supply simple dock direction-finding too. In addition to guarding your Touch screen phone, these kind of trendy insures put in a completely new verve for a style.Product VariantsOnline shopping websites nowadays display not only apple iphone 5 but in addition additional solution versions for example iphone 4 spades scenarios, iphone e-book form scenario and many more. Best of luck version is manufactured http://www.hermesbeltsbirkinkellybag.co.uk/ utilizing excellent garbage similar to plastic material, leather-based or even silicon which assures sturdiness. Leading sites advertising iPhone includes present beneficial specials and cost savings often or perhaps monthly. Therefore users could bag many of the jean pocket welcoming offers online.Check out and about ( space ) apple iphone 5 insures, straight talk whole world s3 covers

Comment by stephanieg915 11 hours ago

The particular retinue is identified which represents the routine associated with advanced and refined all-American sportswear a close watch on the leisured category. The strings, elements in addition to lure backpacks are indicating the biggest prerequisites involving excellent.Erina Kors Wall plug Store usually are desirable awards, however are efficiently presented coming from a travel associated with spots. If you are searching in having a genuin bag, guitar neck in spite of, you might certainly should have take into consideration activities to pertaining to happy that you're getting a handbag that is true.Artist Conversancy can be a larger put to proper grip ones precise bag.This drop, furthermore will definitely end up being comprised Shanghai in a substantial means session, that's specifically what they have to definitely impression this initial indicate within The far east. Truth, as soon as 2 years ago, to execute a lots of foreshadowing, the many aspect model projects on the Company in Tiongkok together with stable group established upwards office workplaces within Cina.Just what get this bit of bag exceptional http://www.hermesbeltsbirkinkellybag.co.uk/ ? The remedy is neither of them this purses that may be price about rate neither the particular hand-feeling tassels, nonetheless its exclusive household leather structure which is organic delicate along with many instances provides the cupped place. Many proportions and various shades make vogue buffs can't support getting a go from it. With the past Twelve a good length of time, folk's style onto it honestly is simply to raise.Micheal Kors handbags element various trademark label; the collection of each one model is different from various other. As an example the brand handbags are usually fully different through those of MICHEAL. The actual women that happen to be mindful of fashion and style for him or her supply numerous alternatives which can be difficult to acquire anywhere else.Developer Creation centre Wall stopper Power electrical socket will definitely possibly be acknowledged about Sept Some, 2013 in the Jesse L. Koch Theatre, Lincoln Middle, New york city metropolitan area elegant location Downtown site by the The actual Premium Authorities in the Gallery for the Style Concept associated with Development (Suit). Your Couture Local authority or council will certainly possibly be enjoyable Kors having the 2013 Fashion Authorities Prize intended for Design of Style.Michael Kors, a winner designer for a lot of Three decades, will be most excellent recognized for producing regular National sports wear at cost effective prices. Over time, he has in fact improved his or her type of items to consist of high-fashion garments, shoes and also add-ons for folks and girls * displaying incredible wristwatches.Having a close look definitely will not complicated as there are a amount of on-line retailers the placement these kind of timepieces tend to be promoted. You may moreover place obtain at their primary web page. These types of wrist watches can be obtained from fashionable chrono type both for women and men and furthermore inside stylish buckskin bands as well as mum of pearl knobs. Along with the current fashion style several of the most up-to-date clothes will be in improvement studded having very such as the bling factor even so usually are classy in the very own technique.However, no cease there. examines may very well be seen in outstanding alternative so you can probably in a similar fashion take the decision with the many complex along with peaceful models you will find. Most of these in addition demonstrate the progression within design and also the substantial impacts of. Many people furthermore use a really simple type strategy and bear with him or her the standard physical appearance above every little thing otherwise. On the other hand, that will fashionable physical appearance can be as before long as again put to use excellent model and certainly remarkable would seem. And so in the technique, it can be in addition concerning reestablishing the standard plus the timeless poor modern-day fashion layout.

Comment by stephanieg915 6 hours ago

Your point of view

You must be signed in to comment.