归档: 2023/6

shell 监听 api 是否可用

shell 监听 api 是否可用1234567891011121314151617181920212223#!/bin/bashRESULT=$(curl -k -s http://xxx.com/api/xxx)SUCCESS=$(echo ${RESULT} | grep "success")my_mail(){ mail_list=(&q

mailx通过465端口发送qq邮件(新)

mailx通过465端口发送qq邮件https://www.cnblogs.com/freespider/p/13415828.html 一、关闭其他的邮件工具 1234567chkconfig postfix off #关闭开机启动service postfix stop #关闭服务运行chkconfig sendmail off service sendmail stop 二、