# wget http://192.168.100.100/test.txt
        (下載test.txt)

# wget -q http://192.168.100.100/test.txt
        (下載test.txt,而不顯示任何訊息)

# wget -q http://192.168.100.100/test.txt
        (下載test.txt,而不顯示任何訊息)

# wget -O test123.txt http://192.168.100.100/test.txt
        (下載test.txt,但output至檔案test123.txt)

# wget -qO - http://192.168.100.100/test.txt
        (顯示test.txt檔案內容在螢幕上)

另一例:
# wget -qO - http://192.168.100.100/index.html
        (顯示index.html程式碼內容在螢幕上)

arrow
arrow
    全站熱搜

    dreamtails 發表在 痞客邦 留言(0) 人氣()