平常工做中的shell腳本

因爲nginx開啓了ssl證書,從http升級到https,因此要把網站的html文件中的http替換成https,寫了個小腳本,代碼以下 html #!/bin/bash  #shell聲明 dir_num=`find /test/ -name "*.html"` #獲取test目錄下全部的html文件 time=`date`    #定義時間變量 echo "開始 $time" >> /tmp
相關文章
相關標籤/搜索