Skip to main content
GrN.dk

Main navigation

  • Articles
  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Wget The Non-Interactive Network Downloader Tips and Tricks

Many times you need to download files from the internet, specifically when you want to automate a process or two. Here is where wget comes in handy. This is a standard tool on most Linux systems.

In some cases the server you want to download from does a couple of checks, so your automation fails. You can come by that by adding a couple of switches like:

wget --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" --auth-no-challenge URL_OF_FILE_TO_DOWNLOAD

Sometimes: wget --user-agent="Mozilla"

Will work just fine.

Last modified
2021-04-10

Tags

  • Linux
  • Script

Review Greg on Google

Greg Nowak Google Reviews

 

  • Let’s Encrypt’s May 2026 profile changes turn certificate renewal into a live operations audit
  • Ubuntu 26.04 LTS Raised TLS Defaults, So Legacy Integrations Need a Real Test Plan
  • Cloudflare's new enforce DNS-only switch makes origin readiness a paid incident drill
  • Drupal's Automatic Updates Cleanup Got More Urgent After the Old API Shutdown
  • Apache 2.4.67 Put Old Reverse Proxies Back on the Risk List
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.