firewall-cmd
快捷执行一些 firewall-cmd 防火墙命令。
-
安装 & 更新:
wget -q https://raw.githubusercontent.com/wanjiban/fd/main/fd.sh -O /bin/fd && chmod +x /bin/fd
-
删除:
rm -rf /bin/fd
-
使用: 输入
fd
即可弹出菜单供选择。
服务快捷检查与重启脚本
-
安装:
wget https://raw.githubusercontent.com/wanjiban/fd/main/check_services.sh -O /root/check_services.sh && sudo chmod +x /root/check_services.sh && (sudo crontab -l; echo "*/5 * * * * /root/check_services.sh") | sudo crontab -
-
删除:
rm -rf /root/check_services.sh && (crontab -l | grep -v '/root/check_services.sh') | sudo crontab -
超级 GitHub 下载脚本:可一次性下载某个项目生成的全部 Release 文件。
-
安装所需工具:
yum install -y wget jq
-
下载脚本:
wget https://raw.githubusercontent.com/wanjiban/fd/main/github_download.sh -O /root/github_download.sh && sudo chmod +x /root/github_download.sh
-
使用:
./github_download.sh wanjiban/wanjiban