7

Wget - GNU, . HTTP, HTTPS FTP.

Wget . , , .

- , -. - , , , -.

wget , cron. . wget , .

, , wget.

    wget

, wget?

, wget , Linux.

, :

wget

wget, , wget URL-, :

wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help` for more options.

wget

wget command not found . Ubuntu/Debian, CentOS Windows.

wget Ubuntu/Debian?

wget Ubuntu Debian, :

sudo apt-get install wget

wget CentOS/Fedora?

wget CentOS Fedora, :

sudo yum install wget

wget Windows?

wget Windows:

  1. wget Windows .
  2. wget (). wget :
    • .
    • .
    • .
    • Path .
    • .
    • bin wget. , C:\Program Files(x86)\GnuWin32\bin.
  3. cmd.exe wget.

wget

wget :

wget [option][URL]

[option] , . , URL-. [URL] - , .


wget

, :

wget [URL]

, Tomcat 9, wget :

wget http://apache.cs.utah.edu/tomcat/tomcat-9/v9.0.20/bin/apache-tomcat-9.0.20.tar.gz 

, :

wget O [_] [URL]

wget .

, Terraform. terraform.zip, :

wget O terraform.zip https://releases.hashicorp.com/terraform/0.12.2/terraform_0.12.2_linux_amd64.zip

wget , . , P:

wget P [_] [URL]

, Git Ubuntu /temp :

wget P /temp https://github.com/git/git/archive/master.zip

, . k m. :

wget --limit-rate [_] [URL]

, NVIDIA TESLA Linux 1 , :

wget --limit-rate 1m http://us.download.nvidia.com/tesla/396.37/nvidia-diag-driver-local-repo-ubuntu1710-396.37_1.0-1_amd64.deb

, , wget , ?? . , .

wget c [URL]

, Mumble Server Linux . , :

wget c https://github.com/mumble-voip/mumble/releases/download/1.2.19/murmur-static_x86-1.2.19.tar.bz2 

wget :

wget i [_]

, :

1. MultipleDownloads.txt ( ) . Nano:

nano MultipleDownloads.txt

2. URL- , , .

MultipleDownloads.txt

3. .

4. wget :

wget i MultipleDownloads.txt

wget URL- .


- ( -)

wget - , m. wget -. :

wget m [URL]

:

wget m https://wiki.merionet.ru

FTP

FTP FTP-, ftp-:

wget --ftp-user=[ftp_username] --ftp-password=[ftp_password] ftp://...

:

wget --ftp-user=admin --ftp-password=SecretPassword ftp://123.456.7890

:

wget b [URL]

:

tail f wget log

RPM , :

wget b http://some_website/sample_file.rpm

, wget , , :

wget --tries = [_] [URL]

20.

0 inf, :

wget --tries=inf http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo

wget , SSL/TLS. , .

--no-check-certificate , . , - , .

wget --no-check-certificate [URL]

http://supersafewebsite.ru , , :

wget --no-check-certificate http://supersafewebsite.ru

User-Agent

- wget . , . , - , User-Agent.

User-Agent - , , . , , .

, , , :

wget --user-agent=User Agent Here [URL]

wget U User Agent Here [URL]

, Chrome ( 74), :

wget --user-agent= Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36 https://wiki.merionet.ru

, wget . wget.


50% Merion Academy