平常工做中的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
相关文章
相关标签/搜索