Shell脚本编程 脚本的需求 Hello脚本 加载脚本 命令行参数 变量和比较 交互式接受用户输入 if then else for循环 while循环 读取文件 调试 实际应用场景 资源列表 脚本的需求 自动化重复的手动任务 创建专门的自定义命令 脚本语言与编程语言的区别 注意: 通常用作壳脚本的扩展名 此处提供的材料是针对 的 Hello脚本 第一行有两个部分 is path of to get path called as shebang), directs the program loader to use the interpreter path provided Comments Comments start with Comments can be placed at