您的位置: 首页 > 文章 > shell脚本输入输出 shell脚本输入输出 分类: 文章 • 2025-06-13 08:43:34 shell脚本输入输出 $n:第n个参数(${10}) $#:参数总数 $*:以一个整体保存所有参数 [email protected]:以独立形式保存每个参数 getopt和getopts获取命令行参数 使用read进行数据输入