{"id":23810,"date":"2017-10-24T08:00:40","date_gmt":"2017-10-24T13:00:40","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=23810"},"modified":"2022-12-19T08:04:36","modified_gmt":"2022-12-19T14:04:36","slug":"wget-command-examples","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/","title":{"rendered":"10 Useful Wget Command Examples In Linux"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-28018\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/09\/Wget-Command-Examples.jpg\" alt=\"Wget Command Examples\" width=\"742\" height=\"371\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/09\/Wget-Command-Examples.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/09\/Wget-Command-Examples-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/09\/Wget-Command-Examples-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-34009\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/wget-example.png\" alt=\"wget example\" width=\"200\" height=\"221\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/wget-example.png 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/wget-example-136x150.png 136w\" sizes=\"(max-width: 200px) 100vw, 200px\" \/>We&#8217;ll show you 10 practical examples of the Wget Command. Wget is a free utility that can be used for retrieving files using HTTP, HTTPS, and FTP which are considered as the most widely-used Internet protocols.<\/p>\n<p>Its name comes from World Wide Web + get. Wget has many features which makes it a very easy task when it comes to retrieving large files, recursive downloads, multiple file downloads, or mirroring entire web or FTP sites.<\/p>\n<p>Wget is non-interactive which gives great flexibility in using it. It can be easily called from scripts, cron jobs, terminals, etc. It can work in the background even if a user is not logged in. This allows you to start a file download and disconnect from the system, letting wget finish the work.<\/p>\n<p>In this article, we will <strong>demonstrate the use of wget through some practical examples<\/strong> that you can use to accomplish some of the most common tasks such as downloading files or even mirroring entire websites.<\/p>\n<p><!--more--><\/p>\n<p><strong>Prerequisites:<\/strong><\/p>\n<p>For the purpose of this demonstration, we will install <strong>wget<\/strong> on an <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" rel=\"noopener\">Ubuntu 16.04 VPS<\/a>.\u00a0Please note that even though this has been tested on Ubuntu 16.04, the instructions can be used on any other Linux distribution as well.<\/p>\n<p>The first step is to <a href=\"https:\/\/www.rosehosting.com\/blog\/connect-to-your-linux-vps-via-ssh\/\" rel=\"noopener\">log in to your server via SSH<\/a>.<\/p>\n<p>You can also make sure that your server is up to date with the following commands:<\/p>\n<pre>apt-get update\r\napt-get upgrade<\/pre>\n<p>After the upgrades have been installed, you can then install the wget software package with the following command:<\/p>\n<pre>apt-get install wget<\/pre>\n<p>After the installation is completed, you can now start using the wget command on your server.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69eb686f91129\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69eb686f91129\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#Wget-command-example-1-%E2%80%93-Download-a-single-file\" >Wget command example #1 &#8211; Download a single file<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#Wget-command-example-2-%E2%80%93-Download-a-file-and-save-it-under-a-different-name\" >Wget command example #2 &#8211; Download a file and save it under a different name<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#Wget-command-example-3-%E2%80%93-Download-a-file-and-save-it-in-a-specific-directory\" >Wget command example #3 &#8211; Download a file and save it in a specific directory<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#Wget-command-example-4-%E2%80%93-Set-the-download-speed\" >Wget command example #4 &#8211; Set the download speed<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#Wget-command-example-5-%E2%80%93-Continue-interrupted-download\" >Wget command example #5 &#8211; Continue interrupted download<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#Wget-command-example-6-%E2%80%93-Download-in-background\" >Wget command example #6 &#8211; Download in background<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#Wget-command-example-7-%E2%80%93-Increase-retry-attempts\" >Wget command example #7 &#8211; Increase retry attempts<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#Wget-command-example-8-%E2%80%93-Download-multiple-files\" >Wget command example #8 &#8211; Download multiple files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#Wget-command-example-9-%E2%80%93-Download-through-FTP\" >Wget command example #9 &#8211; Download through FTP<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#Wget-command-example-10-%E2%80%93-Download-the-entire-website\" >Wget command example #10 &#8211; Download the entire website<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Wget-command-example-1-%E2%80%93-Download-a-single-file\"><\/span>Wget command example #1 &#8211; Download a single file<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The most common and simple usage of wget is to download a single file and store it in your current directory.<\/p>\n<p>For example, to download the latest WordPress version you can use the following command:<\/p>\n<pre>wget https:\/\/wordpress.org\/latest.zip<\/pre>\n<p>This is the output you will get while the file is downloading:<\/p>\n<pre>--2017-10-14 03:46:06-- https:\/\/wordpress.org\/latest.zip\r\nResolving wordpress.org (wordpress.org)... 66.155.40.250, 66.155.40.249\r\nConnecting to wordpress.org (wordpress.org)|66.155.40.250|:443... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 8912693 (8.5M) [application\/zip]\r\nSaving to: 'latest.zip'\r\n\r\nlatest.zip 100%[=====================================================================================================&gt;] 8.50M 5.03MB\/s in 1.7s\r\n\r\n2017-10-14 03:46:07 (5.03 MB\/s) - 'latest.zip' saved [8912693\/8912693]<\/pre>\n<p>As you can see, it also shows you the download progress, current download speed, size, date, time, and the name of the file.<\/p>\n<p>In our case, this command will download the file and save it in your current directory under the &#8220;latest.zip&#8221; name.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Wget-command-example-2-%E2%80%93-Download-a-file-and-save-it-under-a-different-name\"><\/span>Wget command example #2 &#8211; Download a file and save it under a different name<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>You may want to save the file under a different name. To do this, you can use the <strong>-O<\/strong> option like this:<\/p>\n<pre>wget -O wordpress.zip https:\/\/wordpress.org\/latest.zip<\/pre>\n<p>This will download and save the latest WordPress installation in your current directory under the name &#8220;wordpress.zip&#8221;.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Wget-command-example-3-%E2%80%93-Download-a-file-and-save-it-in-a-specific-directory\"><\/span>Wget command example #3 &#8211; Download a file and save it in a specific directory<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To download the file and save it in a different directory, you can use the <strong>-P<\/strong> option, for example:<\/p>\n<pre>wget -P \/opt\/wordpress https:\/\/wordpress.org\/latest.zip<\/pre>\n<p>This will download and store the file in the \/opt\/wordpress directory on your server.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Wget-command-example-4-%E2%80%93-Set-the-download-speed\"><\/span>Wget command example #4 &#8211; Set the download speed<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you happen to download a huge file that takes longer to complete, you can also limit the download speed to prevent wget from using the full possible bandwidth of your connection.<\/p>\n<p>To limit the download speed to 300k, for example, you can use the following command:<\/p>\n<pre>wget --limit-rate=300k https:\/\/wordpress.org\/latest.zip<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Wget-command-example-5-%E2%80%93-Continue-interrupted-download\"><\/span>Wget command example #5 &#8211; Continue interrupted download<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Sometimes, when you download a very big file that would take a longer time to complete, you may temporarily lose your internet connection and your download will get interrupted.<\/p>\n<p>To avoid starting the whole download again, you can continue from where it got interrupted using the <strong>-c<\/strong> option:<\/p>\n<pre>wget -c\u00a0https:\/\/wordpress.org\/latest.zip<\/pre>\n<p>If the download is interrupted, and you start the whole download again without the -c option, wget will append &#8220;.1&#8221; to the end of the filename because the filename with the previous name already exists.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Wget-command-example-6-%E2%80%93-Download-in-background\"><\/span>Wget command example #6 &#8211; Download in background<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For bigger files, you can also use the <strong>-b<\/strong> option, to download the file in the background.<\/p>\n<pre>wget -b http:\/\/example.com\/big-file.zip<\/pre>\n<p>The output will be written in the &#8220;wget-log&#8221; file in the same directory, and you can always check the status of the download with the following command:<\/p>\n<pre>tail -f wget-log<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Wget-command-example-7-%E2%80%93-Increase-retry-attempts\"><\/span>Wget command example #7 &#8211; Increase retry attempts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you are having issues with your internet connection, and your download is getting interrupted multiple times, you can increase the retry attempts to download the file with the\u00a0<strong>-tries<\/strong>\u00a0option:<\/p>\n<pre>wget -tries=100 https:\/\/example.com\/file.zip<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Wget-command-example-8-%E2%80%93-Download-multiple-files\"><\/span>Wget command example #8 &#8211; Download multiple files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you want to download multiple files at the same time, you can create a text file (for example download.txt) where you place all the URLs of the files you wish to download. To create a text file do the following:<\/p>\n<pre>touch download.txt<\/pre>\n<p>Then you can edit the file with nano, and enter all the URLs of all the files you want to download:<\/p>\n<pre>nano download.txt<\/pre>\n<pre>http:\/\/example.com\/file1.zip\r\n\r\nhttp:\/\/example.com\/file2.zip\r\n\r\nhttp:\/\/example.com\/file3.zip<\/pre>\n<p>After you save the file, you can then use the <strong>-i<\/strong> option to download all the files stored in that text file:<\/p>\n<pre>wget -i download.txt<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Wget-command-example-9-%E2%80%93-Download-through-FTP\"><\/span>Wget command example #9 &#8211; Download through FTP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>You can also use wget to download a file directly through FTP using a set username and password, with the following command:<\/p>\n<pre>wget --ftp-user=username --ftp-password=password ftp:\/\/url-to-ftp-file<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Wget-command-example-10-%E2%80%93-Download-the-entire-website\"><\/span>Wget command example #10 &#8211; Download the entire website<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>You can even use wget to download an entire website, which you can then view locally, offline, without the need of an internet connection. To do this you can use the following command:<\/p>\n<pre>wget --mirror --convert-links\u00a0--page-requisites ----no-parent -P \/path\/to\/download https:\/\/example-domain.com<\/pre>\n<p>With &#8212;<strong>mirror<\/strong>, you turn on all the options required for mirroring.<\/p>\n<p>With <strong>&#8211;convert-links<\/strong>, you will convert all the links so they would work offline.<\/p>\n<p>With <strong>&#8211;page-requisites<\/strong>, you download all the necessary files such as CSS style sheets and images required to properly display the pages offline.<\/p>\n<p>With <strong>&#8211;no-parent<\/strong>, you can restrict the download only to a specific portion of the site.<\/p>\n<p>Additionally, you can set the path to where we want to download the files with the -P command followed by the path to the directory.<\/p>\n<p>We have covered some of the most common uses of wget command in 10 practical examples. To <a href=\"https:\/\/www.gnu.org\/software\/wget\/manual\/wget.html\">learn more about wget<\/a>, you can always check its man page with the <strong>man wget<\/strong> command.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-25810\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/wget-command-examples.png\" alt=\"wget command examples\" width=\"200\" height=\"221\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/wget-command-examples.png 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/wget-command-examples-136x150.png 136w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/wget-command-examples-50x55.png 50w\" sizes=\"(max-width: 200px) 100vw, 200px\" \/> If you have a <a href=\"https:\/\/www.rosehosting.com\/blog\/what-is-linux-vps-hosting\/\">Linux VPS <\/a>with us,\u00a0all you have to do is ask our expert Linux admins to <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-linux\/\">install <strong>wget<\/strong><\/a> on your server or to offer some advice Wget Command Examples. They\u2019re available 24\/7 and will be able to help you solve this issue.<br \/>\n<span style=\"color: #ff0000;\">PS.<\/span> If you enjoy reading our post, on Wget Command Examples, feel free to share it on social networks using the shortcuts below, or simply leave a comment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ll show you 10 practical examples of the Wget Command. Wget is a free utility that can be used for &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"10 Useful Wget Command Examples In Linux\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#more-23810\" aria-label=\"Read more about 10 Useful Wget Command Examples In Linux\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":28018,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1236],"tags":[1619,27,59,1479],"class_list":["post-23810","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides","tag-command","tag-linux","tag-ubuntu","tag-wget","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>10 Useful Wget Command Examples In Linux | RoseHosting<\/title>\n<meta name=\"description\" content=\"Find useful Wget Command Examples in Linux. Wget is a free utility used for retrieving files using HTTP, HTTPS, and FTP.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"10 Useful Wget Command Examples In Linux\" \/>\n<meta property=\"og:description\" content=\"10 Useful Wget Command Examples In Linux | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-24T13:00:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-19T14:04:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/09\/Wget-Command-Examples.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"371\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"10 Useful Wget Command Examples In Linux\",\"datePublished\":\"2017-10-24T13:00:40+00:00\",\"dateModified\":\"2022-12-19T14:04:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/\"},\"wordCount\":1056,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/Wget-Command-Examples.jpg\",\"keywords\":[\"command\",\"Linux\",\"ubuntu\",\"wget\"],\"articleSection\":[\"Guides\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/\",\"name\":\"10 Useful Wget Command Examples In Linux | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/Wget-Command-Examples.jpg\",\"datePublished\":\"2017-10-24T13:00:40+00:00\",\"dateModified\":\"2022-12-19T14:04:36+00:00\",\"description\":\"Find useful Wget Command Examples in Linux. Wget is a free utility used for retrieving files using HTTP, HTTPS, and FTP.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/Wget-Command-Examples.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/Wget-Command-Examples.jpg\",\"width\":742,\"height\":371,\"caption\":\"Wget Command Examples\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wget-command-examples\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"10 Useful Wget Command Examples In Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"10 Useful Wget Command Examples In Linux | RoseHosting","description":"Find useful Wget Command Examples in Linux. Wget is a free utility used for retrieving files using HTTP, HTTPS, and FTP.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/","og_locale":"en_US","og_type":"article","og_title":"10 Useful Wget Command Examples In Linux","og_description":"10 Useful Wget Command Examples In Linux | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2017-10-24T13:00:40+00:00","article_modified_time":"2022-12-19T14:04:36+00:00","og_image":[{"width":742,"height":371,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/09\/Wget-Command-Examples.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"10 Useful Wget Command Examples In Linux","datePublished":"2017-10-24T13:00:40+00:00","dateModified":"2022-12-19T14:04:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/"},"wordCount":1056,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/09\/Wget-Command-Examples.jpg","keywords":["command","Linux","ubuntu","wget"],"articleSection":["Guides"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/","url":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/","name":"10 Useful Wget Command Examples In Linux | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/09\/Wget-Command-Examples.jpg","datePublished":"2017-10-24T13:00:40+00:00","dateModified":"2022-12-19T14:04:36+00:00","description":"Find useful Wget Command Examples in Linux. Wget is a free utility used for retrieving files using HTTP, HTTPS, and FTP.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/09\/Wget-Command-Examples.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/09\/Wget-Command-Examples.jpg","width":742,"height":371,"caption":"Wget Command Examples"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/wget-command-examples\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"10 Useful Wget Command Examples In Linux"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/23810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=23810"}],"version-history":[{"count":5,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/23810\/revisions"}],"predecessor-version":[{"id":44421,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/23810\/revisions\/44421"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/28018"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=23810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=23810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=23810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}