Bash

Download with Progress Bar

admin by @admin ADMIN
3d ago
May 31, 2026
Public
0 0 up · 0 down Sign in to vote
Show a progress bar for long downloads. wget gives a great built-in bar; curl needs an explicit flag.
Bash
Raw
# wget — best progress bar by default
wget -c -O big.zip https://example.com/big.zip
#   -c : resume partial downloads
#   -O : output filename

# curl — progress bar via -#
curl -L -# -O https://example.com/big.zip
#   -# : show a # progress bar (instead of full stats)
#   -O : keep remote filename
#   -L : follow redirects

# curl with --resume to continue an interrupted download
curl -L -C - -O https://example.com/big.zip   # -C - = resume from end of local file

# axel for parallel chunks (faster on high-latency links — must be installed)
axel -n 8 https://example.com/big.zip
Tags

Save your own code snippets

Create a free account and build your private vault. Share publicly whenever you want.