tomcat 启动脚本分析
来源:互联网 发布:r语言 相关系数矩阵图 编辑:程序博客网 时间:2024/05/21 12:27
# resolve links - $0 may be a softlink
PRG="$0" //$0 表示命令本身 也就是 startup.sh
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
PRGDIR=`dirname "$PRG"`
PRG="$0" //$0 表示命令本身 也就是 startup.sh
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
PRGDIR=`dirname "$PRG"`
EXECUTABLE=catalina.sh
参考:
bshell 命令行参数 http://www.cnblogs.com/FrankTan/archive/2010/03/01/1634516.html
shell入门 http://www.cnblogs.com/suyang/archive/2008/05/18/1201990.html
0 0
- tomcat启动脚本分析
- tomcat 启动脚本分析
- tomcat启动脚本分析
- 分析 Tomcat startup.bat 启动脚本
- 分析 Tomcat startup.bat 启动脚本
- 分析 Tomcat startup.bat 启动脚本
- tomcat的启动脚本
- tomcat自启动脚本
- linux tomcat脚本启动
- 笔记:tomcat启动脚本
- Tomcat启动脚本
- tomcat启动脚本
- tomcat 启动脚本
- Tomcat启动脚本浅析
- tomcat jetty 启动脚本
- ubuntu 启动tomcat脚本
- Tomcat启动脚本
- tomcat自动启动脚本,
- uva Master-Mind Hints
- JBoss配置虚拟路径
- 关于英语学习的一些思考
- CentOS Linux防火墙配置及关闭
- Linux - find命令搭配atime/ctime/mtime的写法
- tomcat 启动脚本分析
- matlab 边缘追踪
- System Center 2012 R2 Endpoint Protection 微软企业级的免费杀毒软件
- iOS线程 ----NSOperation
- python challenge_13
- 求分数序列和:int求和,小心溢出
- 黑马程序员——面向对象基础
- js:字符串(string)转json
- Linux - crontab(定时任务)