terminal.cab

All commands

curl

Topic: Network

Program: curl

Asks a web service and shows its answer.

Package: net

Usage

curl [OPTION]... URL...

Description

Ask a web service for a URL and print its answer. In the simulator the answers are data, nothing leaves your device.

Options in the simulator

258 more options of the real program, not in the simulator yet
  • --abstract-unix-socket needs a value not in the simulator yet

    Explanation to come

  • --alt-svc needs a value not in the simulator yet

    Explanation to come

  • --anyauth not in the simulator yet

    Explanation to come

  • -a, --append not in the simulator yet

    Explanation to come

  • --aws-sigv4 needs a value not in the simulator yet

    Explanation to come

  • --basic not in the simulator yet

    Explanation to come

  • --ca-native not in the simulator yet

    Explanation to come

  • --cacert needs a value not in the simulator yet

    Explanation to come

  • --capath needs a value not in the simulator yet

    Explanation to come

  • -E, --cert needs a value not in the simulator yet

    Explanation to come

  • --cert-status not in the simulator yet

    Explanation to come

  • --cert-type needs a value not in the simulator yet

    Explanation to come

  • --ciphers needs a value not in the simulator yet

    Explanation to come

  • --compressed not in the simulator yet

    Explanation to come

  • --compressed-ssh not in the simulator yet

    Explanation to come

  • -K, --config needs a value not in the simulator yet

    Explanation to come

  • --connect-to needs a value not in the simulator yet

    Explanation to come

  • -C, --continue-at needs a value not in the simulator yet

    Explanation to come

  • -b, --cookie needs a value not in the simulator yet

    Explanation to come

  • -c, --cookie-jar needs a value not in the simulator yet

    Explanation to come

  • --create-dirs not in the simulator yet

    Explanation to come

  • --create-file-mode needs a value not in the simulator yet

    Explanation to come

  • --crlf not in the simulator yet

    Explanation to come

  • --crlfile needs a value not in the simulator yet

    Explanation to come

  • --curves needs a value not in the simulator yet

    Explanation to come

  • -d, --data needs a value not in the simulator yet

    Explanation to come

  • --data-ascii needs a value not in the simulator yet

    Explanation to come

  • --data-binary needs a value not in the simulator yet

    Explanation to come

  • --data-raw needs a value not in the simulator yet

    Explanation to come

  • --data-urlencode needs a value not in the simulator yet

    Explanation to come

  • --delegation needs a value not in the simulator yet

    Explanation to come

  • --digest not in the simulator yet

    Explanation to come

  • -q, --disable not in the simulator yet

    Explanation to come

  • --disable-eprt not in the simulator yet

    Explanation to come

  • --disable-epsv not in the simulator yet

    Explanation to come

  • --disallow-username-in-url not in the simulator yet

    Explanation to come

  • --dns-interface needs a value not in the simulator yet

    Explanation to come

  • --dns-ipv4-addr needs a value not in the simulator yet

    Explanation to come

  • --dns-ipv6-addr needs a value not in the simulator yet

    Explanation to come

  • --dns-servers needs a value not in the simulator yet

    Explanation to come

  • --doh-cert-status not in the simulator yet

    Explanation to come

  • --doh-insecure not in the simulator yet

    Explanation to come

  • --doh-url needs a value not in the simulator yet

    Explanation to come

  • --dump-ca-embed not in the simulator yet

    Explanation to come

  • -D, --dump-header needs a value not in the simulator yet

    Explanation to come

  • --ech needs a value not in the simulator yet

    Explanation to come

  • --egd-file needs a value not in the simulator yet

    Explanation to come

  • --engine needs a value not in the simulator yet

    Explanation to come

  • --etag-compare needs a value not in the simulator yet

    Explanation to come

  • --etag-save needs a value not in the simulator yet

    Explanation to come

  • --expect100-timeout needs a value not in the simulator yet

    Explanation to come

  • --fail-early not in the simulator yet

    Explanation to come

  • --fail-with-body not in the simulator yet

    Explanation to come

  • --false-start not in the simulator yet

    Explanation to come

  • -F, --form needs a value not in the simulator yet

    Explanation to come

  • --form-escape not in the simulator yet

    Explanation to come

  • --form-string needs a value not in the simulator yet

    Explanation to come

  • --ftp-account needs a value not in the simulator yet

    Explanation to come

  • --ftp-alternative-to-user needs a value not in the simulator yet

    Explanation to come

  • --ftp-create-dirs not in the simulator yet

    Explanation to come

  • --ftp-method needs a value not in the simulator yet

    Explanation to come

  • --ftp-pasv not in the simulator yet

    Explanation to come

  • -P, --ftp-port needs a value not in the simulator yet

    Explanation to come

  • --ftp-pret not in the simulator yet

    Explanation to come

  • --ftp-skip-pasv-ip not in the simulator yet

    Explanation to come

  • --ftp-ssl-ccc not in the simulator yet

    Explanation to come

  • --ftp-ssl-ccc-mode needs a value not in the simulator yet

    Explanation to come

  • --ftp-ssl-control not in the simulator yet

    Explanation to come

  • -G, --get not in the simulator yet

    Explanation to come

  • -g, --globoff not in the simulator yet

    Explanation to come

  • --happy-eyeballs-timeout-ms needs a value not in the simulator yet

    Explanation to come

  • --haproxy-clientip needs a value not in the simulator yet

    Explanation to come

  • --haproxy-protocol not in the simulator yet

    Explanation to come

  • -H, --header needs a value not in the simulator yet

    Explanation to come

  • -h, --help needs a value not in the simulator yet

    Explanation to come

  • --hostpubmd5 needs a value not in the simulator yet

    Explanation to come

  • --hostpubsha256 needs a value not in the simulator yet

    Explanation to come

  • --hsts needs a value not in the simulator yet

    Explanation to come

  • --http0.9 not in the simulator yet

    Explanation to come

  • -0, --http1.0 not in the simulator yet

    Explanation to come

  • --http1.1 not in the simulator yet

    Explanation to come

  • --http2 not in the simulator yet

    Explanation to come

  • --http2-prior-knowledge not in the simulator yet

    Explanation to come

  • --http3 not in the simulator yet

    Explanation to come

  • --http3-only not in the simulator yet

    Explanation to come

  • --ignore-content-length not in the simulator yet

    Explanation to come

  • -k, --insecure not in the simulator yet

    Explanation to come

  • --interface needs a value not in the simulator yet

    Explanation to come

  • --ip-tos needs a value not in the simulator yet

    Explanation to come

  • --ipfs-gateway needs a value not in the simulator yet

    Explanation to come

  • -4, --ipv4 not in the simulator yet

    Explanation to come

  • -6, --ipv6 not in the simulator yet

    Explanation to come

  • --json needs a value not in the simulator yet

    Explanation to come

  • -j, --junk-session-cookies not in the simulator yet

    Explanation to come

  • --keepalive-cnt needs a value not in the simulator yet

    Explanation to come

  • --keepalive-time needs a value not in the simulator yet

    Explanation to come

  • --key needs a value not in the simulator yet

    Explanation to come

  • --key-type needs a value not in the simulator yet

    Explanation to come

  • --krb needs a value not in the simulator yet

    Explanation to come

  • --libcurl needs a value not in the simulator yet

    Explanation to come

  • --limit-rate needs a value not in the simulator yet

    Explanation to come

  • -l, --list-only not in the simulator yet

    Explanation to come

  • --local-port needs a value not in the simulator yet

    Explanation to come

  • --location-trusted not in the simulator yet

    Explanation to come

  • --login-options needs a value not in the simulator yet

    Explanation to come

  • --mail-auth needs a value not in the simulator yet

    Explanation to come

  • --mail-from needs a value not in the simulator yet

    Explanation to come

  • --mail-rcpt needs a value not in the simulator yet

    Explanation to come

  • --mail-rcpt-allowfails not in the simulator yet

    Explanation to come

  • -M, --manual not in the simulator yet

    Explanation to come

  • --max-filesize needs a value not in the simulator yet

    Explanation to come

  • --max-redirs needs a value not in the simulator yet

    Explanation to come

  • --metalink not in the simulator yet

    Explanation to come

  • --mptcp not in the simulator yet

    Explanation to come

  • --negotiate not in the simulator yet

    Explanation to come

  • -n, --netrc not in the simulator yet

    Explanation to come

  • --netrc-file needs a value not in the simulator yet

    Explanation to come

  • --netrc-optional not in the simulator yet

    Explanation to come

  • -:, --next not in the simulator yet

    Explanation to come

  • --no-alpn not in the simulator yet

    Explanation to come

  • -N, --no-buffer not in the simulator yet

    Explanation to come

  • --no-clobber not in the simulator yet

    Explanation to come

  • --no-keepalive not in the simulator yet

    Explanation to come

  • --no-npn not in the simulator yet

    Explanation to come

  • --no-progress-meter not in the simulator yet

    Explanation to come

  • --no-sessionid not in the simulator yet

    Explanation to come

  • --noproxy needs a value not in the simulator yet

    Explanation to come

  • --ntlm not in the simulator yet

    Explanation to come

  • --ntlm-wb not in the simulator yet

    Explanation to come

  • --oauth2-bearer needs a value not in the simulator yet

    Explanation to come

  • --output-dir needs a value not in the simulator yet

    Explanation to come

  • -Z, --parallel not in the simulator yet

    Explanation to come

  • --parallel-immediate not in the simulator yet

    Explanation to come

  • --parallel-max needs a value not in the simulator yet

    Explanation to come

  • --pass needs a value not in the simulator yet

    Explanation to come

  • --path-as-is not in the simulator yet

    Explanation to come

  • --pinnedpubkey needs a value not in the simulator yet

    Explanation to come

  • --post301 not in the simulator yet

    Explanation to come

  • --post302 not in the simulator yet

    Explanation to come

  • --post303 not in the simulator yet

    Explanation to come

  • --preproxy needs a value not in the simulator yet

    Explanation to come

  • -#, --progress-bar not in the simulator yet

    Explanation to come

  • --proto needs a value not in the simulator yet

    Explanation to come

  • --proto-default needs a value not in the simulator yet

    Explanation to come

  • --proto-redir needs a value not in the simulator yet

    Explanation to come

  • -x, --proxy needs a value not in the simulator yet

    Explanation to come

  • --proxy-anyauth not in the simulator yet

    Explanation to come

  • --proxy-basic not in the simulator yet

    Explanation to come

  • --proxy-ca-native not in the simulator yet

    Explanation to come

  • --proxy-cacert needs a value not in the simulator yet

    Explanation to come

  • --proxy-capath needs a value not in the simulator yet

    Explanation to come

  • --proxy-cert needs a value not in the simulator yet

    Explanation to come

  • --proxy-cert-type needs a value not in the simulator yet

    Explanation to come

  • --proxy-ciphers needs a value not in the simulator yet

    Explanation to come

  • --proxy-crlfile needs a value not in the simulator yet

    Explanation to come

  • --proxy-digest not in the simulator yet

    Explanation to come

  • --proxy-header needs a value not in the simulator yet

    Explanation to come

  • --proxy-http2 not in the simulator yet

    Explanation to come

  • --proxy-insecure not in the simulator yet

    Explanation to come

  • --proxy-key needs a value not in the simulator yet

    Explanation to come

  • --proxy-key-type needs a value not in the simulator yet

    Explanation to come

  • --proxy-negotiate not in the simulator yet

    Explanation to come

  • --proxy-ntlm not in the simulator yet

    Explanation to come

  • --proxy-pass needs a value not in the simulator yet

    Explanation to come

  • --proxy-pinnedpubkey needs a value not in the simulator yet

    Explanation to come

  • --proxy-service-name needs a value not in the simulator yet

    Explanation to come

  • --proxy-ssl-allow-beast not in the simulator yet

    Explanation to come

  • --proxy-ssl-auto-client-cert not in the simulator yet

    Explanation to come

  • --proxy-tls13-ciphers needs a value not in the simulator yet

    Explanation to come

  • --proxy-tlsauthtype needs a value not in the simulator yet

    Explanation to come

  • --proxy-tlspassword needs a value not in the simulator yet

    Explanation to come

  • --proxy-tlsuser needs a value not in the simulator yet

    Explanation to come

  • --proxy-tlsv1 not in the simulator yet

    Explanation to come

  • -U, --proxy-user needs a value not in the simulator yet

    Explanation to come

  • --proxy1.0 needs a value not in the simulator yet

    Explanation to come

  • -p, --proxytunnel not in the simulator yet

    Explanation to come

  • --pubkey needs a value not in the simulator yet

    Explanation to come

  • -Q, --quote needs a value not in the simulator yet

    Explanation to come

  • --random-file needs a value not in the simulator yet

    Explanation to come

  • -r, --range needs a value not in the simulator yet

    Explanation to come

  • --rate not in the simulator yet

    Explanation to come

  • --raw not in the simulator yet

    Explanation to come

  • -e, --referer needs a value not in the simulator yet

    Explanation to come

  • -J, --remote-header-name not in the simulator yet

    Explanation to come

  • --remote-name-all not in the simulator yet

    Explanation to come

  • -R, --remote-time not in the simulator yet

    Explanation to come

  • --remove-on-error not in the simulator yet

    Explanation to come

  • -X, --request needs a value not in the simulator yet

    Explanation to come

  • --request-target needs a value not in the simulator yet

    Explanation to come

  • --resolve needs a value not in the simulator yet

    Explanation to come

  • --retry needs a value not in the simulator yet

    Explanation to come

  • --retry-all-errors not in the simulator yet

    Explanation to come

  • --retry-connrefused not in the simulator yet

    Explanation to come

  • --retry-delay needs a value not in the simulator yet

    Explanation to come

  • --retry-max-time needs a value not in the simulator yet

    Explanation to come

  • --sasl-authzid needs a value not in the simulator yet

    Explanation to come

  • --sasl-ir not in the simulator yet

    Explanation to come

  • --service-name needs a value not in the simulator yet

    Explanation to come

  • --sigalgs needs a value not in the simulator yet

    Explanation to come

  • --skip-existing not in the simulator yet

    Explanation to come

  • --socks4 needs a value not in the simulator yet

    Explanation to come

  • --socks4a needs a value not in the simulator yet

    Explanation to come

  • --socks5 needs a value not in the simulator yet

    Explanation to come

  • --socks5-basic not in the simulator yet

    Explanation to come

  • --socks5-gssapi not in the simulator yet

    Explanation to come

  • --socks5-gssapi-nec not in the simulator yet

    Explanation to come

  • --socks5-gssapi-service needs a value not in the simulator yet

    Explanation to come

  • --socks5-hostname needs a value not in the simulator yet

    Explanation to come

  • -Y, --speed-limit needs a value not in the simulator yet

    Explanation to come

  • -y, --speed-time needs a value not in the simulator yet

    Explanation to come

  • --ssl not in the simulator yet

    Explanation to come

  • --ssl-allow-beast not in the simulator yet

    Explanation to come

  • --ssl-auto-client-cert not in the simulator yet

    Explanation to come

  • --ssl-no-revoke not in the simulator yet

    Explanation to come

  • --ssl-reqd not in the simulator yet

    Explanation to come

  • --ssl-revoke-best-effort not in the simulator yet

    Explanation to come

  • --ssl-sessions needs a value not in the simulator yet

    Explanation to come

  • -2, --sslv2 not in the simulator yet

    Explanation to come

  • -3, --sslv3 not in the simulator yet

    Explanation to come

  • --stderr needs a value not in the simulator yet

    Explanation to come

  • --styled-output not in the simulator yet

    Explanation to come

  • --suppress-connect-headers not in the simulator yet

    Explanation to come

  • --tcp-fastopen not in the simulator yet

    Explanation to come

  • --tcp-nodelay not in the simulator yet

    Explanation to come

  • -t, --telnet-option needs a value not in the simulator yet

    Explanation to come

  • --tftp-blksize needs a value not in the simulator yet

    Explanation to come

  • --tftp-no-options not in the simulator yet

    Explanation to come

  • -z, --time-cond needs a value not in the simulator yet

    Explanation to come

  • --tls-earlydata not in the simulator yet

    Explanation to come

  • --tls-max needs a value not in the simulator yet

    Explanation to come

  • --tls13-ciphers needs a value not in the simulator yet

    Explanation to come

  • --tlsauthtype needs a value not in the simulator yet

    Explanation to come

  • --tlspassword needs a value not in the simulator yet

    Explanation to come

  • --tlsuser needs a value not in the simulator yet

    Explanation to come

  • -1, --tlsv1 not in the simulator yet

    Explanation to come

  • --tlsv1.0 not in the simulator yet

    Explanation to come

  • --tlsv1.1 not in the simulator yet

    Explanation to come

  • --tlsv1.2 not in the simulator yet

    Explanation to come

  • --tlsv1.3 not in the simulator yet

    Explanation to come

  • --tr-encoding not in the simulator yet

    Explanation to come

  • --trace needs a value not in the simulator yet

    Explanation to come

  • --trace-ascii needs a value not in the simulator yet

    Explanation to come

  • --trace-config needs a value not in the simulator yet

    Explanation to come

  • --trace-ids not in the simulator yet

    Explanation to come

  • --trace-time not in the simulator yet

    Explanation to come

  • --unix-socket needs a value not in the simulator yet

    Explanation to come

  • -T, --upload-file needs a value not in the simulator yet

    Explanation to come

  • --upload-flags needs a value not in the simulator yet

    Explanation to come

  • --url needs a value not in the simulator yet

    Explanation to come

  • --url-query needs a value not in the simulator yet

    Explanation to come

  • -B, --use-ascii not in the simulator yet

    Explanation to come

  • -u, --user needs a value not in the simulator yet

    Explanation to come

  • -A, --user-agent needs a value not in the simulator yet

    Explanation to come

  • --variable needs a value not in the simulator yet

    Explanation to come

  • -v, --verbose not in the simulator yet

    Explanation to come

  • -V, --version not in the simulator yet

    Explanation to come

  • --vlan-priority needs a value not in the simulator yet

    Explanation to come

  • --xattr not in the simulator yet

    Explanation to come

Examples

From the lesson Who listens, and what answers
curl -s shop.example.net/
<h1>shop</h1>

Try it in the terminal

Where you learn it

Lessons

All commands