$ curl -I http://windows.justanexample.com/
HTTP/1.1 403 Forbidden
Content-Length: 218
Content-Type: text/html
Server: Microsoft-IIS/6.0
Date: Tue, 07 Apr 2009 17:26:05 GMT
Here's an excerpt from man entry for curl
DESCRIPTION
curl is a tool to transfer data from or to a server, using one of the supported protocols (HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, DICT, TELNET, LDAP or FILE). The command is designed to work without user interaction.
curl offers a busload of useful tricks like proxy support,user authentication, ftp upload, HTTP post, SSL connections, cookies, file transfer resume and more. The amount of features will make your head spin!
I'll update this post with more curl examples.
No comments:
Post a Comment