echo -e "It is a test \n"
echo It is a test
echo -e "\"It is a test\""
read name
echo "$name is a good man"
echo -e "OK! \c"
echo "It is a test"
echo '$name\"'
echo `date`
注意:字符串写单引号双引号不写效果都一样
\n换行 \c不换行 \"双引号
echo -e "It is a test \n"
echo It is a test
echo -e "\"It is a test\""
read name
echo "$name is a good man"
echo -e "OK! \c"
echo "It is a test"
echo '$name\"'
echo `date`
注意:字符串写单引号双引号不写效果都一样
\n换行 \c不换行 \"双引号
上一篇:shell脚本之格式化输出对象
下一篇:shell脚本之for循环
shell中一些特殊符号的含义简介在shell中常用的特殊符号罗列如下:# ; ;; . , &n
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M