• echo输出命令

echo [选项] [输出内容]

选项:

-e :支持反斜线控制的字符转换

shell脚本执行方式

shell脚本执行方式

  • 第一个脚本命令

shell脚本执行方式

  • 脚本执行

赋予执行权限,直接运行

chmod 755 hello.sh

./hello.sh

通过bash调用执行脚本

bash hello.sh

相关文章:

  • 2021-04-28
  • 2022-03-06
  • 2022-12-23
  • 2021-11-30
  • 2021-09-26
  • 2021-11-13
  • 2021-10-20
猜你喜欢
  • 2021-07-07
  • 2021-12-04
  • 2021-06-03
  • 2021-04-27
  • 2021-10-15
相关资源
相似解决方案