command: wget
usage:  wget is a free utility for non-interactive download of files from
            the web

syntax: $ wget [option] [url]

example:

1. To download through wget without any options

    $ wget 
http://download.fedoraproject.org/pub/fedora/linux/releases/19/Live/x86_64/Fedora-Live-Desktop-x86_64-
               19-1.iso

2. To download in background afterstartup

    $ wget -b http://ftp.gnu.org/gnu/gcc/gcc-3.3.tar.gz

3. To download multiple files using HTTP and FTP protocol at ones.

    $ wget -b http://ftp.gnu.org/gnu/gcc/gcc-3.3.tar.gz
ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.1/gcc-4.8.1.tar.gz

4. To download URLs found in local or external file

    $ wget -i /downloads/urls.txt

5. To resume getting a partially-downloaded file

    $ wget -c http://ftp.gnu.org/gnu/jwhois/jwhois-4.0.tar.gz

6. To download http and ftp with password restricted sites

    $ wget --http-user=user1 --http-password=password1 [URL link]

    $ wget --ftp-user=user2 --ftp-password=password2 [URL link]

7. To Set number of retries to number

    $ wget --tries=X [URL]

    X is number of times retry
    0 or inf for infinite number of retries
    default number of retry is 20

8. To print help info of this command

     $ wget --help


regards,
dhanasekar
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to