Brief Analysis on installing wget and wget commands on aix

Source: Internet
Author: User

Aix installation wget and wget command brief to IBM website-ivh wget-1.9.1-1.aix5.1.ppc.rpm installation. Completed... wget is a command line non-interactive Web download tool. It supports HTTP, HTTPS, and FTP protocols, and supports downloading through proxy. When using the wget command, the simplest method is to directly download the file to the local device in the following format. Wget <URL> (1) Use common parameters of the wget command (applicable to connection to HTTP, HTTPS, and FTP ). Common parameter: Ø-B: Enter the background operation after startup. -O = <File>: Write log messages to a specified file. -A = <File>: append the log message to the end of the specified file. -D: print the debugging output. -Q: Quiet Mode (no output ). -V: Detailed output mode (default ). -Nv: Disable the detailed output mode, but do not enter the quiet mode. -I = <File>: Download the URL found in the specified file. -F: process the input file in HTML format. -B = <URL>: when the-F-I file option is used, add the specified URL before the relative link. -T = <times>: configure the number of retries (0 indicates unlimited ). -- Retry-connrefused: Try again even if the connection is rejected. -O = <File>: Write Data to this file. -Nc: Do not change existing files or use the. # (#) method after the file name to write new files. -C: continue to receive some downloaded files. -- Progress = mode: indicates the download progress. -N: the remote file will not be retrieved unless it is newer. -S: displays the Server Response Message. -- Spider: No data is downloaded. -T = <number of seconds>: set the time-out seconds for Data Reading. -W = <seconds>: number of seconds to wait for receiving different files. -- Waitretry = <seconds>: the number of seconds to wait for each retry (1 second by default ). -- Random-wait: the number of seconds between receiving different files (0 s by default ). -- Proxy = <on | off>: Specifies whether to enable or disable the proxy server. -Q = <size>: set the quota of received data. -- Bind-address = <address>: Use the specified address (host name or IP address) of the local machine to connect. -- Limit-rate = <rate>: limits the download speed. -- Dns-cache = <on | off>: Specifies whether to disable searching for DNS in the cache. (2) Use the wget command for HTTP server parameters. Wget http: // ip address (or FQDN)/file name parameter: Ø -- http-user = <user>: Specifies the HTTP user name. -- Http-passwd = <password>: Specifies the HTTP user password. -C = <on | off>: Specifies whether to use the data in the high-speed cache on the server (which is used by default ). -E: add the. html extension file name to all text/html files of the MIME type. -- Ignore-length: ignore the Content-Length header field. -- Header = <string>: add the specified string to the file header. -- Proxy-user = <user>: Specifies the proxy server user name. -- Proxy-passwd = <password>: Specifies the user password of the proxy server. -- Referer = <URL>: contains the "Referer: URL" header in the HTTP request. -S: saves the HTTP header to a file. -U = AGENT: indicates the AGENT instead of Wget/VERSION. -- No-http-keep-alive: Disable HTTP keep-alive (persistent connection ). -- Cookies = on | off: Specifies whether to use cookies. -- Load-cookies = <File>: loads cookies from specified files before the session starts. -- Save-cookies = <File>: after the session ends, the Cookie is saved to the specified file. -- Post-data = <string>: Use the POST method to send the specified string. -- Post-file = <file>: Use the POST method to send the content in the specified file. (3) Use the wget command for HTTPS Server parameters. Wget https: // ip address (or FQDN)/file name parameter: Ø -- sslcertfile = <File>: Optional client segment certificate. -- Sslcertkey = <Key File>: the "Key File" available for this certificate ". -- Egd-file = <file>: Specifies the file name of the EGD Socket. -- Sslcadir = <directory>: directory where the CA hash is located. -- Sslcafile = <File>: contains CA files. -- Sslcerttype = <0 | 1>: Client-Cert Type, where 0 = PEM (default)/1 = ASN1 (DER ). -- Sslcheckcert = <0 | 1>: Check the server certificate based on the provided CA. -- Sslprotocol = <0 | 1>: Select SSL protocol, 0 = automatic selection, 1 = SSLv2, 2 = SSLv3, 3 = TLSv1. (4) use the wget command to set FTP server parameters. Wget ftp: // ip address (or FQDN)/file name parameter: Ø-nr: Do not delete the ". listing" file. -G <on | off>: Specifies whether to expand the file name with a wildcard character. -- Passive-ftp: use passive mode. -- Retr-symlinks: download the file indicated by the link in recursive mode. -R: recursive download. -L = <number>: specifies the maximum recursive depth. 0 indicates no limit. -- Delete-after: Specifies the file to be deleted after the download. -K: converts an absolute link to a relative link. -K: Back up file X to X. orig before converting file X. -M: equivalent to-r-N-l 0-nr. -P: download all the files required to display the complete webpage, such. -- Strict-comments: Enable the strict processing option for HTML remarks (SGML. -A = <list>: List of accepted file styles, separated by commas. -R = <list>: list of excluded file styles, separated by commas. -D = <list>: List of accepted domains, separated by commas. -- Exclude-domains = <list>: list of excluded domains, separated by commas. -- Follow-ftp: follows the FTP link in the HTML file. -- Follow-tags = <list>: HTML tags to be followed, separated by commas. Ø-G = <list>: HTML tags to be ignored, separated by commas. -H: You can access other hosts after recursion. -L: only follows the relative link. -I = <list>: List of directories to be downloaded. -X = <list>: List of directories to be excluded. -Np: do not search for upper-level directories.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.