wget

General

wget -q -O - http://pichove.org/somefile.txt

... displays the contents of somefile.txt to stdout



wget -q -S -O - http://pichove.org

... displays headers as well

--

wget --http-user sgs --ask-password https://pichove.org/secret-resource.tar.gz

... access resource using BASE auth



Argument description

  • --dns-servers=<IP1,IP2...> - assigns a DNS server(s) to use instead of the default one
  • --dns-timeout=<seconds> - sets the DNS lookup timeout to seconds
  • -O <file or - stdout> --output-document=<file or - stdout>
  • -q --quiet - quiet
  • -S, --server-response - prints the headers sent by HTTP servers and responses sent by FTP servers
  • -T , --timeout=<seconds> - sets the network timeout to seconds
  • -t <number>, --tries=<number> - sets number of tries to number

2026-04-11 13:14:19

minicms - © 2020-2026 Simeon Simeonov