3.shell脚本知识点学习二

一.echo命令 echo 指令都是用于字符串的输出。命令格式: echo "It is a test" 1.1显示换行 echo -e "OK! \n" # -e 开启转义 \n换行echo "It it a test" 1.2.显示不换行 echo -e "OK! \c" # -e 开启转义 \c 不换行echo "It is a test" 1.3显示结果定向至文件 echo "It is
相关文章
相关标签/搜索