Skip to main content
curl and wget reach the network from the shell, and write what they fetch into any writable mount. Expand a command to see every flag it takes.

HTTP

Send an HTTP request.
Download a URL or check its response.
curl writes the body to stdout unless -o selects a virtual file. wget saves to a virtual file; use -O - for stdout. Both respect destination mount permissions. Limits: These are HTTP tools, with no full curl or Wget option set. Recursive Wget downloads (-r, --mirror) are unsupported. curl -4/-6 are accepted, but the host transport chooses the address family. wget -T uses one request deadline rather than separate DNS, connect, and read timers; zero disables it. curl -b sends cookies from a virtual file, or NAME=VALUE as given; curl -c FILE saves them after the request, so a login carries across curl calls. In the browser no cookies are sent or received, but -c still writes its file, so it can replace a saved jar with an empty one. Public suffixes such as co.uk are not checked. curl -F sends one URL-encoded text field; repeated -F keeps only the last field, and @FILE is literal text. Multipart file uploads are unsupported. curl -w supports http_code, response_code, url_effective, num_redirects, size_download, content_type, method, exitcode, and time_total. Other variables produce a diagnostic.