shell 基础

  • 默认 shell 为bash(Bourne Agin Shell)
  • 系统命令的集合
  • 查看脚本执行过程 sh -x 01.sh
  • 检查脚本是否有语法错误 sh -n 01.sh