摘要: 1、远程登入实例并执行命令 ssh $ip << EOF echo "are you ok?" EOF 2、curl只显示请求返回码 curl -s -o /dev/null -w "%{http_code}\n" <URL> 3、获取内存使用量,并重启占用高的服务 #!/bin/bash a=$( 阅读全文
posted @ 2023-12-01 10:54 ZANAN 阅读(10) 评论(0) 推荐(0) 编辑