摘要: 1、第一行必须以#!/bin/bash #!表示脚本使用后面的解释器解释执行 2、echo 打印输出 例如 echo "hello world" > aa.txt 3、接收参数 #!/bin/bash name=$1 age=$2 sex=$3 echo "name:$name;age:$age;s 阅读全文
posted @ 2017-08-22 23:58 孤*狼 阅读(281) 评论(0) 推荐(0) 编辑