shell参数简单介绍如下一个命令: 1 ./test.sh -f config.conf -v --prefix=/home 我们称 -f 为选项,它需要一个参数,即 config.conf,-v 也是一个选项,但它不需要参数。--prefix 我们称之为一个长选项,即选项本身 2022年7月5日 1 分钟 Shell Shell