C:\>wget --spider -S http://www.naver.com --> 헤더정보를 console에 뿌린다.
--15:04:28--  http://www.naver.com/
           => `index.html'
Resolving www.naver.com... done.
Connecting to www.naver.com[202.131.30.82]:80... connected.  --> IP는 202.131.30.82 다.
HTTP request sent, awaiting response...
 1 HTTP/1.1 200 OK
 2 Date: Fri, 30 Nov 2007 06:04:21 GMT   --> 메인페이지는 오늘 아침 6시 4분 21초에 업데이트 되었다.
 3 Server: Apache --> Naver는 메인페이지용 웹서버로 Apache를 쓰고 있다
 4 Cache-control: no-cache, no-store, must-revalidate
 5 Pragma: no-cache
 6 P3P: CP="CAO DSP CURa ADMa TAIa PSAa OUR LAW STP PHY ONL UNI PUR FIN COM NAV INT DEM STA PRE" --> P3P를 쓰고 있다
 7 Connection: close
 8 Content-Type: text/html; charset=euc-kr  --> 캐릭터셋으로 euc-kr로 쓰고 있다.
200 OK

C:\>wget -O good.jpg http://www.hikr.org/files/33971.jpg --> url에서 파일을 다운로드 하여 good.jpg로 저장한다.
--15:08:51--  http://www.hikr.org/files/33971.jpg
           => `good.jpg'
Resolving www.hikr.org... done.
Connecting to www.hikr.org[88.198.38.81]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 121,292 [image/jpeg]

100%[====================================>] 121,292       44.08K/s    ETA 00:00

15:08:55 (44.08 KB/s) - `good.jpg' saved [121292/121292]
2009/04/30 11:21 2009/04/30 11:21

Trackback Address :: https://youngsam.net/trackback/366