shell脚本实现互动式重启
来源:互联网 发布:最优化方法孙文瑜答案 编辑:程序博客网 时间:2024/05/22 13:19
#!/bin/bash
#-------------CopyRight-------------
# Name:Reboot system
# Contact:QQ 740711249
#------------Substance------------
echo "Reboot the system yes or no"
select var in "yes" "no";
do break;
done
if [ "$var" = "yes" ];then
reboot;
elif [ "$var" = "no" ];then
echo "Reboot system channel";
fi
#-------------CopyRight-------------
# Name:Reboot system
# Contact:QQ 740711249
#------------Substance------------
echo "Reboot the system yes or no"
select var in "yes" "no";
do break;
done
if [ "$var" = "yes" ];then
reboot;
elif [ "$var" = "no" ];then
echo "Reboot system channel";
fi
0 0
- shell脚本实现互动式重启
- shell脚本实现程序重启
- 用shell脚本实现监控程序自动重启
- SHELL脚本实现服务宕机监控自动重启
- 用shell脚本实现监控程序自动重启
- 用shell脚本实现监控程序自动重启
- 用shell脚本实现监控程序自动重启
- shell脚本重启tomcat
- shell 脚本重启tomcat
- shell 重启tomcat 脚本
- tomcat重启shell脚本
- shell 重启tomcat 脚本
- shell 实现的自动无限重启脚本,出错自动重启服务
- tomcat的重启shell脚本
- 利用linux shell脚本 重启tomcat
- shell自动监控重启Tomcat脚本
- shell脚本强制进程重启
- shell自动监控重启Tomcat脚本
- centos中mysql远程连接失败解决方案
- ASI导入项目经过和遇到的问题
- jvm监控命令
- 一种更清晰的Android架构
- Excel+Access做数据分析和报表分析
- shell脚本实现互动式重启
- 面向对象基本概念
- Zigzag数组的初始化
- How-to: resolve "java.lang.NoClassDefFoundError: org/htrace/Trace" when hbase Export
- ubuntu.sh: 113: ubuntu.sh: Syntax error: "(" unexpected
- 【动态规划】[UVa 11825]Hackers' Crackdown
- vs2008+matlab2010b--matlab转换为dll的操作步骤 ( 二)
- require(),include(),require_once()和include_once()区别
- Quick-Cocos2d-x 3.3中常用的文件和函数(一)