摘要:
shell echo命令 1、显示普通字符串 echo "It is a test" echo It is a test 2、显示转义字符 echo "\"It is a test\"" 3、显示变量 echo ${name} 4、显示换行 echo -e "OK! \n" # -e 开启转义 5、 阅读全文
摘要:
定义变量 shell_name="Shell" 使用变量 echo ${shell_name} 强烈推荐使用加{} for skill in Ada Coffe Action Java; do echo "I am good at ${skill}Script" done重新赋值 shell_nam 阅读全文