发布网友 发布时间:2022-05-14 15:11
共1个回答
热心网友 时间:2023-10-21 23:49
看最简单的脚本b1.sh: $ cat b1.sh #!/bin/bash echo "I am, you are" 运行b1.sh: $ b1.sh (或者运行./b1.sh) I am, you are 脚本b2.sh有参数$1, $2: $ cat b2.sh #!/bin/bash echo "I am $1, you are $2" 运行b2.sh $ b2.sh (或者运行./b...