利用curl查看服务器类型

2018-08-04 02:39:41
Reading:313

命令格式:curl --head  网址

例如:

curl --head www.taobao.com
HTTP/1.1 200 OK
Server: Tengine
Date: Thu, 04 Dec 2014 02:08:06 GMT
Content-Type: text/html; charset=gbk
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: CAT=deleted; expires=Wed, 04-Dec-2013 02:08:05 GMT
Expires: Thu, 04 Dec 2014 03:08:06 GMT
Cache-Control: max-age=3600

About

When I was young
I'd listen to the radio
Waiting for my favorite songs
When they played I'd sing along
It made me smile
Those were such happy times
And not so long ago
How I wondered where they'd gone
But they're back again
Just like a long lost friend
All the songs I loved so well