linux之shell基础
shell脚本基础文章目录shell脚本基础shell变量变量定义变量使用只读变量删除变量变量类型shell字符串双引号字符串优点:常见字符串操作shell数组shell注释shell传递参数shell基本运算符shell流程控制if elsefor循环while循环until循环case跳出循环:break continue输出命令echoprintf常用转义字符常用的类型转换符函数函数参数:重定向shell文件包含declarexargsshell中的符号shell变量变量定义变量定义,无需加美