How do you download files from the Linux System Using Wget?

August 29 2014

Wget utility used for download files from the web, It support protocols like, HTTP, HTTPS, FTP. The wget installed in build Linux / Unix and Mac operating system, if you could not found that package can be installed manually. Wget has developed for robustness or managing unstable network connection problem.

1. How to Install?

If you could not found the wget command on terminal try to install in single command,

For ubuntu/Debian

# apt-get install wget

For CentOS, Fedora, RHEL

# yum install wget

2. Find wget command location?

Both command can shows installed location and executable file

# which wget

/usr/bin/wget

# whereis wget

wget: /usr/bin/wget /usr/bin/X11/wget /usr/share/man/man1/wget.1.gz

3. Download single file:

For download a file give wget with that URL, Once enter the command file will be downloaded and display information about file length, download time duration, Total file space and completed status(100%).