Logo
Web01
Ch4os1@web01:~/commands/curl
← View all bash commands

curl

Transfer data from or to a server.

Examples

curl http://example.com
              

Fetch the content of a webpage.

curl -O http://example.com/file.zip
              

Download 'file.zip' from 'http://example.com'.

Notes

This command affects only the current shell session.