月度归档:
2024 年 11 月
Linux
判断ssh是否运行
12345678#!/bin/bash service=$( systemctl is-active sshd ) if [ "$service" == active ];then echo "$service is running" else sys……
2024-11-28 jon
0
0