Learn how to use Wget to download files from URLs on Linux and Unix servers.
How to Download Files from URL Using Wget Command
- Step 1: Standard File Download — Run
wget "https://abctool.info" # Custom filename: wget -O "name.ext" "https://abctool.info". - Step 2: Save to Specific Name — Run
wget -O custom_name.ext "https://abctool.info". - Step 3: Background Server Download — Run
wget -b "https://abctool.info"to log output towget-log.
How to Fix Wget 403 Forbidden & User-Agent Restrictions
If a server blocks Wget with a 403 Forbidden error, pass a browser User-Agent string:
wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64)" "https://abctool.info"