“Shell”
shell - 动态查看日志
$ cat toolbox.sh #!/bin/sh SCRIPT_DIR="$(cd "$(dirname "$0")"; pwd)&quo...
shell 修改hosts ip 绑定
脚本功能定时检查域名的连通性,如果不通,则从ip列表中遍历检查连通性ip通则与域名绑定到 hosts 文件中#!/bin/bash DOMAIN=api.weixin.qq.com IP_LI...
$ cat toolbox.sh #!/bin/sh SCRIPT_DIR="$(cd "$(dirname "$0")"; pwd)&quo...
脚本功能定时检查域名的连通性,如果不通,则从ip列表中遍历检查连通性ip通则与域名绑定到 hosts 文件中#!/bin/bash DOMAIN=api.weixin.qq.com IP_LI...