1.wget -o 命令
用于記錄下載過程信息,并存入日志文中
示例:wget -o log文件 url鏈接
wget -o output.log http://www.vdberg.org/~richard/tcpping
2.wget -O 命令
用于名命保存下載的文件內(nèi)容,并且可以指定下載的位置
示例:wget -O 路徑+文件名 url鏈接
wget http://www.vdberg.org/~richard/tcpping -O /usr/bin/tcping
3.wget -O- 命令
下載過程信息和下載文件均輸出到終端
示例:wget -O- url鏈接
wget -O- bench.sh