zoukankan
html css js c++ java
shell 常用命令
Shell脚本调试选项
Shell本身提供一些调试方法选项:
-n,读一遍脚本中的命令但不执行,用于检查脚本中的语法错误。
-v,一边执行脚本,一边将执行过的脚本命令打印到标准输出。
-x,提供跟踪执行信息,将执行的每一条命令和结果依次打印出来。
使用这些选项有三种方法
1.在命令行提供参数:$sh -x script.sh
2.脚本开头提供参数:#!/bin/sh -x
3.在脚本中用set命令启用or禁用参数:其中set -x表启用,set +x表禁用。注意避免几种调试选项混用。
1. shell echo 打印 换行 echo -e " hallo world"
查看全文
相关阅读:
摄像头标定GML Camera Calibration
joda.money.Money
aop the less note 1
good notes
yingyu biji 1
flowable note1
activiti note1
CET4/6
Web应用界面好帮手!DevExtreme React和Vue组件全新功能上线
Web UI开发推荐!Kendo UI for jQuery自定义小部件——处理事件
原文地址:https://www.cnblogs.com/chenpython123/p/10715651.html
最新文章
SAP Fiori Elements里的Smart Table工作原理解析
在SAP WebIDE里使用Fiori Elements快速开发SAP UI5应用
SAP ABAP和Java的动态代理实现
SAP ABAP CGLIB(Code Generation Library)的模拟实现
如何监听SAP CRM BOR事件
如何避免SAP订单保存后生成的中间件CSA inbound queue
SAP CRM服务订单的distribution lock和status profile
知识+AI融合创新探索,华为云论文被AI顶级学术期刊IEEE TPAMI接受
女神节·走近又美又飒的程序媛
详解NLP和时序预测的相似性【附赠AAAI21最佳论文INFORMER的详细解析】
热门文章
互联网短平快下,DevCloud如何支撑软件开发的“转型”?
云小课|网络好不好,ping一下就知道
25个关键技术点,带你熟悉Python
上过云么?一行代码秒上云体验过么?
徐烨:这20年,我与应用系统的“云化”之路
DevOps敏捷60问,一定有你想了解的问题
有图有真相:带你实现当下流行的权限验证
轻松构建基于 Serverless 架构的小程序
向量算子优化Vector Operation Optimization
用OpenCV进行摄像机标定
Copyright © 2011-2022 走看看