#!/bin/bash
function is_service(){
result=`service mysql status`
if [[ $result =~ "(dead)" ]];then
echo "[-] Mysql have not started"
exit
fi
}
function main(){
is_service
}
main
#!/bin/bash
function is_service(){
result=`service mysql status`
if [[ $result =~ "(dead)" ]];then
echo "[-] Mysql have not started"
exit
fi
}
function main(){
is_service
}
main
暂无评论
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-20
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17