shell脚本调试
来源:互联网 发布:淘宝日系男装店铺 编辑:程序博客网 时间:2024/06/03 09:35
参考《鸟哥的Linux私房菜》
shell脚本调试:
sh [-nvx] scripts.sh
参数:
-n :不要执行scripts,仅查询语法问题;
-v :在执行scripts前,先将scripts的内容输出到屏幕上;
-x :将使用到的scripts内容显示到屏幕上,这是很有用的参数!用来调试脚本很好用
例:
测试有无语法问题:sh -n sh1.sh
将脚本的执行过程全部列出来:sh -x sh1.sh
阅读全文
1 0
- shell脚本调试技巧
- Shell脚本调试技术
- Shell脚本调试技术
- Shell脚本调试技术
- Shell脚本调试技术
- Shell脚本调试技术
- Shell脚本调试技术
- shell脚本调试技术
- Shell脚本调试技术
- Shell脚本调试技术
- bashdb调试shell脚本
- 如何调试shell脚本
- Shell脚本调试技术
- Shell脚本调试技术
- Shell脚本调试技术
- Shell脚本调试技术
- shell脚本调试
- Shell脚本调试技术
- 中间件kingshard入门(二):orzdba监控工具
- JAVA反射_TYPE类型
- 自顶向下,逐步求精
- 跨域问题解决
- 解决recyclerview 在 scrollview 中不能全部显示,高度不正常的问题
- shell脚本调试
- Java和C#下String类型中的==和equals的原理与区别
- Android笔试和面试常见题目(四)
- android Zxing在fragment中使用
- AMQP 协议详解
- 关于获取QTableWidget item文本和判断item是否为空
- python Tkinter基础
- Python基础知识简述(个人笔记)
- 什么才是8K,8K的参数,8K应用,8K介绍、8K测试交流