shell多行注释
2016-07-13 10:08
639 查看
方法一
方法二
方法三
方法四
不能如下使用:
: ' 被注释的多行内容 '
方法二
:<<eof 被注释的多行内容 eof
方法三
:<<! 被注释的多行内容 !
方法四
if false ; then 被注释的多行内容 fi
不能如下使用:
if false ; then #被注释的多行内容 不能加# fi
相关文章推荐
- shell学习-1
- shell 编程arry数组
- shell 递归函数---循环拷贝文件到指定目录
- linux bash $()和${}和$(())和(())
- crontab定时执行程序
- shell时间处理整理
- shell中的数学运算
- shell命令列表
- Ubuntu下HBase安装与使用(shell+Java API)
- shell中的expr命令
- xshell,putty连接不上centos原因
- source、sh、bash、./执行脚本的区别
- shell中的退出状态码
- adb shell dumpsys的使用
- Shell读取用户输入
- MIT6.828 Lab 5: File system, Spawn and Shell
- linux shell命令的常用快捷键
- RedHat中敲sh-copy-id命令报错:-bash: ssh-copy-id: command not found
- 在Mac下Shell Script问题集
- Shell获取上一个月、星期的时间范围