Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Nov 292010

How to simulate curl using wget command?


To simulate a simple curl command using wget, e.g. curl

# wget -O-

To view the HTTP response header (i.e. more verbose), e.g. curl -v

# wget -O- -S

Aug 092010

Mirror a web site using wget


wget is a standard program came with most Linux distributions. It allows you to create a mirror (backup) of a web site easily using the following command.

# wget -m -k -K -E

Jan 262010

wget with rate limiting


When you are downloading a large file, and you want to limit the bandwidth used, it is easy with the wget command

wget --limit-rate=100k

The above command will limit the rate to be used not to exceed 100kbps.