shell 腳本之 curl 請求

shell 腳本之 curl 請求 這篇咱們介紹一下怎樣利用 shell 的功能去封裝一個 curl 的請求 並把請求的結果作個初步的判斷 這個只是個最簡單的,若是有須要能夠在這個基礎上進行各類其餘的判斷,結合一些其餘的工具對網站進行監控。  執行腳本: ./curl.sh www.baidu.com #!/bin/bash function httpRequest() { #curl 請
相關文章
相關標籤/搜索